debian-mirror-gitlab/app/models/instance_metadata.rb
2023-01-12 18:35:48 +00:00

12 lines
328 B
Ruby

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