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

11 lines
217 B
Ruby
Raw Normal View History

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