gitlab-org--gitlab-foss/app/services/boards/base_service.rb

17 lines
379 B
Ruby
Raw Normal View History

# 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 = parent
@current_user = user
@params = params.dup
2017-08-28 17:56:49 -04:00
end
end
end
Boards::BaseService.prepend_mod_with('Boards::BaseService')