Sha256: 1ea03e2e525dd78fa89ba5f40f7cf7fdab9a7766da227fb9d18615705b8feb60
Contents?: true
Size: 546 Bytes
Versions: 13
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true module Decidim module Core class ParticipatorySpaceManifestType < Decidim::Api::Types::BaseObject description "A participatory manifest" field :name, GraphQL::Types::String, "The name of the manifest", null: false field :human_name, Decidim::Core::QuantifiableTranslatedFieldType, "The human readable name for the manifest", null: false def human_name { single: object.human_name, plural: object.human_name(count: 2) } end end end end
Version data entries
13 entries across 13 versions & 1 rubygems