Sha256: c17ea57d58f28727bc836732b28fba838c861c808a89e00b26b83c875fe8921b
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
# frozen_string_literal: true module Decidim # This interface represents an author who owns a resource. AuthorInterface = GraphQL::InterfaceType.define do name "Author" description "An author" field :name, !types.String, "The author's name" field :avatarUrl, !types.String, "The author's avatar url" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.2.0 | lib/decidim/core/api/author_interface.rb |