14 lines
368 B
Ruby
14 lines
368 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|
|
|
|
Boards::BaseService.prepend_if_ee('EE::Boards::BaseService')
|