Class: GraphQL::Argument
- Inherits:
-
Object
- Object
- GraphQL::Argument
- Includes:
- DefinitionHelpers::DefinedByConfig
- Defined in:
- lib/graphql/argument.rb
Overview
Used for defined arguments (Field, InputObjectType)
Instance Attribute Summary collapse
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods included from DefinitionHelpers::DefinedByConfig
Instance Attribute Details
#default_value ⇒ Object
Returns the value of attribute default_value.
17 18 19 |
# File 'lib/graphql/argument.rb', line 17 def default_value @default_value end |
#description ⇒ Object
Returns the value of attribute description.
17 18 19 |
# File 'lib/graphql/argument.rb', line 17 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/graphql/argument.rb', line 17 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
17 18 19 |
# File 'lib/graphql/argument.rb', line 17 def type @type end |