summaryrefslogtreecommitdiff
path: root/app/services/milestones/base_service.rb
blob: cce0863d6114f32394a5c17d18dfd141eb3bbb20 (plain)
1
2
3
4
5
6
7
8
9
10
11
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