debian-mirror-gitlab/app/services/milestones/base_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
334 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
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 = {})
2021-04-29 21:17:54 +05:30
@parent = parent
@current_user = user
@params = params.dup
2018-11-08 19:23:39 +05:30
super
2017-09-10 17:25:29 +05:30
end
2014-09-02 18:07:02 +05:30
end
end