gitlab-org--gitlab-foss/app/models/clusters/agents/implicit_authorization.rb

24 lines
345 B
Ruby

# frozen_string_literal: true
module Clusters
module Agents
class ImplicitAuthorization
attr_reader :agent
delegate :id, to: :agent, prefix: true
def initialize(agent:)
@agent = agent
end
def config_project
agent.project
end
def config
nil
end
end
end
end