debian-mirror-gitlab/app/services/base_container_service.rb
2021-04-29 21:17:54 +05:30

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