Sha256: 75a593845003d14aad7cd5c9611f6319f45f3259b41c82474014c9012e43268c

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

module Types
  class MutationType < Ibrain::Types::BaseObject
    # TODO: remove me
    field :test_field, String, null: false,
                               description: 'An example field added by the generator'
    def test_field
      'Hello World'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ibrain-core-0.1.1 lib/generators/ibrain/install/templates/graphql/types/mutation_type.rb.tt
ibrain-core-0.1.0 lib/generators/ibrain/install/templates/graphql/types/mutation_type.rb.tt