Class: GraphQL::UnionType
- Inherits:
-
Object
- Object
- GraphQL::UnionType
- Defined in:
- lib/graphql/union_type.rb
Overview
A collection of ObjectTypes
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#possible_types ⇒ Object
Returns the value of attribute possible_types.
- #resolve_type(object) ⇒ Object
Instance Method Summary collapse
Methods included from DefinitionHelpers::DefinedByConfig
Methods included from DefinitionHelpers::NonNullWithBang
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/graphql/union_type.rb', line 14 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/graphql/union_type.rb', line 14 def name @name end |
#possible_types ⇒ Object
Returns the value of attribute possible_types.
14 15 16 |
# File 'lib/graphql/union_type.rb', line 14 def possible_types @possible_types end |
#resolve_type(object) ⇒ Object
22 23 24 |
# File 'lib/graphql/union_type.rb', line 22 def resolve_type @resolve_type end |