Class: GraphQL::Language::Argument
- Inherits:
-
Struct
- Object
- Struct
- GraphQL::Language::Argument
- Defined in:
- lib/graphql/language/argument.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/graphql/language/argument.rb', line 3 def name @name end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/graphql/language/argument.rb', line 3 def value @value end |
Instance Method Details
#materialize(field_argument_type, values) ⇒ Object
5 6 7 |
# File 'lib/graphql/language/argument.rb', line 5 def materialize(field_argument_type, values) value.materialize(field_argument_type, values) end |