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

11 lines
262 B
Ruby

# 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