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


53
54
55
56
57
# File 'lib/graphql/query/arguments.rb', line 53

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

Instance Attribute Details

#definitionObject (readonly)

Returns the value of attribute definition


52
53
54
# File 'lib/graphql/query/arguments.rb', line 52

def definition
  @definition
end

#keyObject (readonly)

Returns the value of attribute key


52
53
54
# File 'lib/graphql/query/arguments.rb', line 52

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value


52
53
54
# File 'lib/graphql/query/arguments.rb', line 52

def value
  @value
end