Sha256: 64711236eb0116fc4b41104ddef225689fdc8605b60922249afcd85ec505ba20
Contents?: true
Size: 469 Bytes
Versions: 52
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives # This interface represents a commentable object. module InitiativeTypeInterface include Decidim::Api::Types::BaseInterface description "An interface that can be used in Initiative objects." field :initiative_type, Decidim::Initiatives::InitiativeApiType, "The object's initiative type", null: true def initiative_type object.type end end end end
Version data entries
52 entries across 52 versions & 1 rubygems