gitlab-org--gitlab-foss/app/models/instance_metadata.rb

12 lines
262 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class InstanceMetadata
attr_reader :version, :revision, :kas
def initialize(version: Gitlab::VERSION, revision: Gitlab.revision)
@version = version
@revision = revision
@kas = ::InstanceMetadata::Kas.new
end
end