summaryrefslogtreecommitdiff
path: root/app/services/boards/base_service.rb
blob: 83bb69b38222fc25043f7b9ed05650557954bbf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 = parent
      @current_user = user
      @params = params.dup
    end
  end
end

Boards::BaseService.prepend_if_ee('EE::Boards::BaseService')