Sha256: 101a2730b72de25cdbb6ad2a4055b566b84cde5a565dbeee0ccb4adebe1fa1a8
Contents?: true
Size: 676 Bytes
Versions: 48
Compression:
Stored size: 676 Bytes
Contents
# frozen_string_literal: true module Types class MutationType < Ibrain::Types::BaseApiObject description 'Define all mutation for client' # TODO: remove me # Default session_required is true, set false if yout want to skip authenticated field :test_authenticated_field, , String, null: false, description: 'An example field added by the generator' field :test_field, String, null: false, description: 'An example field added by the generator', session_required: false def test_field 'Hello World' end def test_authenticated_field 'Im logged in!' end end end
Version data entries
48 entries across 48 versions & 1 rubygems