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

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

Constant Summary

Constants inherited from AbstractNode

AbstractNode::NO_CHILDREN

Instance Attribute Summary collapse

Attributes inherited from AbstractNode

#filename

Method Summary

Methods inherited from AbstractNode

#==, #children, #children_method_name, children_of_type, #col, #definition_line, #delete_child, inherited, #initialize_copy, #line, #merge, #position, #replace_child, #scalars, #to_query_string

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



695
696
697
# File 'lib/graphql/language/nodes.rb', line 695

def description
  @description
end

#typesObject (readonly)

Returns the value of attribute types.



695
696
697
# File 'lib/graphql/language/nodes.rb', line 695

def types
  @types
end