Sha256: c461ae839c23f71d98759788746bc2f11337f48452735467325ce25ed8d7989a
Contents?: true
Size: 477 Bytes
Versions: 44
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module Decidim module Core class OrganizationType < Decidim::Api::Types::BaseObject description "The current organization" field :name, GraphQL::Types::String, "The name of the current organization", null: true field :stats, [Core::StatisticType, { null: true }], description: "The statistics associated to this object", null: true def stats Decidim.stats.with_context(object) end end end end
Version data entries
44 entries across 44 versions & 1 rubygems