Commit 7c3d3e80 authored by syasonik's avatar syasonik

Help rails find the right base service classes for oncall services

parent 41dfe9cb
......@@ -2,7 +2,7 @@
module IncidentManagement
module OncallRotations
class CreateService < BaseService
class CreateService < OncallRotations::BaseService
MAXIMUM_PARTICIPANTS = 100
# @param schedule [IncidentManagement::OncallSchedule]
......
......@@ -2,7 +2,7 @@
module IncidentManagement
module OncallRotations
class DestroyService < BaseService
class DestroyService < OncallRotations::BaseService
# @param oncall_schedule [IncidentManagement::OncallRotation]
# @param user [User]
def initialize(oncall_rotation, user)
......
......@@ -2,7 +2,7 @@
module IncidentManagement
module OncallSchedules
class CreateService < BaseService
class CreateService < OncallSchedules::BaseService
# @param project [Project]
# @param user [User]
# @param params [Hash]
......
......@@ -2,7 +2,7 @@
module IncidentManagement
module OncallSchedules
class DestroyService < BaseService
class DestroyService < OncallSchedules::BaseService
# @param oncall_schedule [IncidentManagement::OncallSchedule]
# @param user [User]
def initialize(oncall_schedule, user)
......
......@@ -2,7 +2,7 @@
module IncidentManagement
module OncallSchedules
class UpdateService < BaseService
class UpdateService < OncallSchedules::BaseService
# @param oncall_schedule [IncidentManagement::OncallSchedule]
# @param user [User]
# @param params [Hash]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment