summaryrefslogtreecommitdiff
path: root/app/services/boards/base_service.rb
blob: 439a5c06223139384834ec614ba82b7648848630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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')