debian-mirror-gitlab/app/models/clusters/agents/implicit_authorization.rb
2021-11-18 22:05:49 +05:30

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