gitlab-org--gitlab-foss/app/services/base_container_service.rb

14 lines
346 B
Ruby

# 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 = container
@current_user = current_user
@params = params.dup
end
end