Sha256: 60826cb038cdb8edcce57bce78d28836bf4a39fa789f7844a5543606ccc360e0
Contents?: true
Size: 702 Bytes
Versions: 31
Compression:
Stored size: 702 Bytes
Contents
# frozen_string_literal: true module Decidim module Core # This type represents a Decidim's global property. DecidimType = GraphQL::ObjectType.define do name "Decidim" description "Decidim's framework-related properties." field :version, !types.String, "The current decidim's version of this deployment." do resolve ->(obj, _args, _ctx) { obj.version } end field :applicationName, !types.String, "The current installation's name." do resolve ->(obj, _args, _ctx) { obj.application_name } end field :rubyVersion, !types.String, "The current ruby version" do resolve ->(_, _, _) { RUBY_VERSION } end end end end
Version data entries
31 entries across 31 versions & 1 rubygems