debian-mirror-gitlab/app/graphql/resolvers/metadata_resolver.rb

12 lines
235 B
Ruby
Raw Permalink Normal View History

2019-05-18 00:54:41 +05:30
# 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