Class: GraphQL::Language::Nodes::SchemaDefinition
- Inherits:
-
AbstractNode
- Object
- AbstractNode
- GraphQL::Language::Nodes::SchemaDefinition
- Defined in:
- lib/graphql/language/nodes.rb
Instance Attribute Summary collapse
-
#mutation ⇒ Object
Returns the value of attribute mutation.
-
#query ⇒ Object
Returns the value of attribute query.
-
#subscription ⇒ Object
Returns the value of attribute subscription.
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
#mutation ⇒ Object
Returns the value of attribute mutation.
205 206 207 |
# File 'lib/graphql/language/nodes.rb', line 205 def mutation @mutation end |
#query ⇒ Object
Returns the value of attribute query.
205 206 207 |
# File 'lib/graphql/language/nodes.rb', line 205 def query @query end |
#subscription ⇒ Object
Returns the value of attribute subscription.
205 206 207 |
# File 'lib/graphql/language/nodes.rb', line 205 def subscription @subscription end |
Instance Method Details
#initialize_node(query: nil, mutation: nil, subscription: nil) ⇒ Object
206 207 208 209 210 |
# File 'lib/graphql/language/nodes.rb', line 206 def initialize_node(query: nil, mutation: nil, subscription: nil) @query = query @mutation = mutation @subscription = subscription end |