Class: GraphQL::TypeDefiner
- Inherits:
-
Object
- Object
- GraphQL::TypeDefiner
- Includes:
- Singleton
- Defined in:
- lib/graph_ql/definition_helpers/type_definer.rb
Instance Method Summary collapse
Instance Method Details
#[](type) ⇒ Object
10 11 12 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 10 def [](type) GraphQL::ListType.new(of_type: type) end |
#Boolean ⇒ Object
7 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 7 def Boolean; GraphQL::BOOLEAN_TYPE; end |
#Float ⇒ Object
6 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 6 def Float; GraphQL::FLOAT_TYPE; end |
#ID ⇒ Object
8 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 8 def ID; GraphQL::ID_TYPE; end |
#Int ⇒ Object
4 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 4 def Int; GraphQL::INT_TYPE; end |
#String ⇒ Object
5 |
# File 'lib/graph_ql/definition_helpers/type_definer.rb', line 5 def String; GraphQL::STRING_TYPE; end |