Class: GraphQL::Language::Argument

Inherits:
Struct
  • Object
show all
Defined in:
lib/graphql/language/argument.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/graphql/language/argument.rb', line 3

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of 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