summaryrefslogtreecommitdiff
path: root/app/services/base_container_service.rb
blob: 56e4b8c908c91b14935e12d7ae491bd83be70345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# Base class, scoped by container (project or group)
class BaseContainerService
  include BaseServiceUtility

  attr_reader :container, :current_user, :params

  def initialize(container:, current_user: nil, params: {})
    @container, @current_user, @params = container, current_user, params.dup
  end
end