Class: GraphQL::Language::Nodes::Document
- Inherits:
-
AbstractNode
- Object
- AbstractNode
- GraphQL::Language::Nodes::Document
- Defined in:
- lib/graphql/language/nodes.rb
Instance Attribute Summary collapse
-
#definitions ⇒ Object
Returns the value of attribute definitions.
Attributes inherited from AbstractNode
Instance Method Summary collapse
Methods inherited from AbstractNode
child_attributes, #children, #initialize, #position, #to_query_string
Constructor Details
This class inherits a constructor from GraphQL::Language::Nodes::AbstractNode
Instance Attribute Details
#definitions ⇒ Object
Returns the value of attribute definitions.
98 99 100 |
# File 'lib/graphql/language/nodes.rb', line 98 def definitions @definitions end |
Instance Method Details
#initialize_node(definitions: []) ⇒ Object
101 102 103 |
# File 'lib/graphql/language/nodes.rb', line 101 def initialize_node(definitions: []) @definitions = definitions end |