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, #eql?, inherited, #initialize, #position, scalar_attributes, #scalars, #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.
126 127 128 |
# File 'lib/graphql/language/nodes.rb', line 126 def definitions @definitions end |
Instance Method Details
#initialize_node(definitions: []) ⇒ Object
129 130 131 |
# File 'lib/graphql/language/nodes.rb', line 129 def initialize_node(definitions: []) @definitions = definitions end |