Class: GraphQL::Language::Nodes::UnionTypeDefinition

Inherits:
AbstractNode
  • Object
show all
Includes:
DefinitionNode
Defined in:
lib/graphql/language/nodes.rb

Constant Summary

Constants inherited from AbstractNode

AbstractNode::NO_CHILDREN

Instance Attribute Summary collapse

Attributes inherited from AbstractNode

#col, #filename, #line

Instance Method Summary collapse

Methods inherited from AbstractNode

#children, #delete_child, #eql?, inherited, #initialize, #initialize_copy, #merge, #position, #replace_child, #scalars, #to_query_string, #visit_method

Constructor Details

This class inherits a constructor from GraphQL::Language::Nodes::AbstractNode

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description



650
651
652
# File 'lib/graphql/language/nodes.rb', line 650

def description
  @description
end

#typesObject (readonly)

Returns the value of attribute types



650
651
652
# File 'lib/graphql/language/nodes.rb', line 650

def types
  @types
end

Instance Method Details

#children_method_nameObject



655
656
657
# File 'lib/graphql/language/nodes.rb', line 655

def children_method_name
  :definitions
end