2014-06-10 11:07:52 -04:00
|
|
|
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
|
|
|
|
end
|
2014-06-10 11:07:52 -04:00
|
|
|
end
|
|
|
|
end
|