gitlab-org--gitlab-foss/app/services/milestones/base_service.rb

14 lines
322 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Milestones
class BaseService < ::BaseService
2017-07-07 11:08:49 -04:00
# 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
2017-07-07 11:08:49 -04:00
end
end
end