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

13 lines
338 B
Ruby
Raw Normal View History

# 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