debian-mirror-gitlab/app/models/instance_metadata.rb
2023-01-13 15:02:22 +05:30

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