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

10 lines
217 B
Ruby

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