gitlab-org--gitlab-foss/app/graphql/resolvers/metadata_resolver.rb
2019-03-05 15:00:32 +00:00

11 lines
235 B
Ruby

# frozen_string_literal: true
module Resolvers
class MetadataResolver < BaseResolver
type Types::MetadataType, null: false
def resolve(**args)
{ version: Gitlab::VERSION, revision: Gitlab.revision }
end
end
end