23 lines
345 B
Ruby
23 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
|