debian-mirror-gitlab/app/services/milestones/base_service.rb
2018-11-08 19:23:39 +05:30

11 lines
291 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
super
end
end
end