Class: GraphQL::Language::Nodes::EnumTypeDefinition
- Inherits:
-
AbstractNode
- Object
- AbstractNode
- GraphQL::Language::Nodes::EnumTypeDefinition
- Defined in:
- lib/graphql/language/nodes.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#values ⇒ Object
Returns the value of attribute values.
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
#name ⇒ Object
Returns the value of attribute name.
262 263 264 |
# File 'lib/graphql/language/nodes.rb', line 262 def name @name end |
#values ⇒ Object
Returns the value of attribute values.
262 263 264 |
# File 'lib/graphql/language/nodes.rb', line 262 def values @values end |
Instance Method Details
#initialize_node(name:, values:) ⇒ Object
263 264 265 266 |
# File 'lib/graphql/language/nodes.rb', line 263 def initialize_node(name:, values:) @name = name @values = values end |