debian-mirror-gitlab/app/services/milestones/base_service.rb
2017-09-10 17:25:29 +05:30

10 lines
279 B
Ruby

module Milestones
class BaseService < ::BaseService
# Parent can either a group or a project
attr_accessor :parent, :current_user, :params
def initialize(parent, user, params = {})
@parent, @current_user, @params = parent, user, params.dup
end
end
end