2018-07-16 12:31:01 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-28 17:56:49 -04:00
|
|
|
module Boards
|
|
|
|
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
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2019-09-13 09:26:31 -04:00
|
|
|
|
|
|
|
Boards::BaseService.prepend_if_ee('EE::Boards::BaseService')
|