Class: GraphQL::Query::Arguments::ArgumentValue

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/query/arguments.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, value, definition) ⇒ ArgumentValue

Returns a new instance of ArgumentValue.



98
99
100
101
102
# File 'lib/graphql/query/arguments.rb', line 98

def initialize(key, value, definition)
  @key = key
  @value = value
  @definition = definition
end

Instance Attribute Details

#definitionObject (readonly)

Returns the value of attribute definition.



97
98
99
# File 'lib/graphql/query/arguments.rb', line 97

def definition
  @definition
end

#keyObject (readonly)

Returns the value of attribute key.



97
98
99
# File 'lib/graphql/query/arguments.rb', line 97

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



97
98
99
# File 'lib/graphql/query/arguments.rb', line 97

def value
  @value
end