Class: GraphQL::ScalarType

Inherits:
ObjectType show all
Defined in:
lib/graph_ql/scalar_type.rb

Overview

The parent type for scalars, eg STRING_TYPE, INT_TYPE

Instance Method Summary collapse

Methods inherited from ObjectType

#==, #fields, #fields=, #initialize, #interfaces, #to_s

Methods included from DefinitionHelpers::Definable

#attr_definable

Methods included from DefinitionHelpers::NonNullWithBang

#!

Constructor Details

This class inherits a constructor from GraphQL::ObjectType

Instance Method Details

#kindObject



5
6
7
# File 'lib/graph_ql/scalar_type.rb', line 5

def kind
  GraphQL::TypeKinds::SCALAR
end