Class: GraphQL::Introspection::TypeNode
- Defined in:
- lib/graphql/introspection/type_node.rb
Instance Attribute Summary
Attributes inherited from Node
#query, #syntax_fields, #target
Instance Method Summary collapse
Methods inherited from Node
all_fields, #as_result, #context, cursor, default_schema_name, desc, description, exposes, field, inherited, #initialize, #method_missing, own_fields, remove_field, ruby_class_name, schema_name, type
Constructor Details
This class inherits a constructor from GraphQL::Node
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GraphQL::Node
Instance Method Details
#fields ⇒ Object
9 10 11 |
# File 'lib/graphql/introspection/type_node.rb', line 9 def fields target.all_fields.values end |
#name ⇒ Object
13 14 15 |
# File 'lib/graphql/introspection/type_node.rb', line 13 def name schema_name end |