gitlab-org--gitlab-foss/app/services/milestones/base_service.rb
2018-07-17 15:19:40 -07:00

13 lines
322 B
Ruby

# frozen_string_literal: true
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