debian-mirror-gitlab/app/models/clusters/agents/implicit_authorization.rb
2022-11-25 23:54:43 +05:30

23 lines
344 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
{}
end
end
end
end