Sha256: ded4587d4f96e4a9153b0509915fed2bbe9ccae632ade83266fcefd1ac5b3168
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true module Decidim # This type represents a ParticipatoryProcess. 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 :application_name, !types.String, "The current installation's name." do resolve ->(obj, _args, _ctx) { obj.application_name } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.1.0 | lib/decidim/core/api/decidim_type.rb |