2014-09-02 18:07:02 +05:30
|
|
|
module Milestones
|
|
|
|
class BaseService < ::BaseService
|
2017-09-10 17:25:29 +05:30
|
|
|
# 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-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
end
|