Class: GraphQL::Query::Arguments::ArgumentValue
- Inherits:
-
Object
- Object
- GraphQL::Query::Arguments::ArgumentValue
- Defined in:
- lib/graphql/query/arguments.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value, definition) ⇒ ArgumentValue
constructor
A new instance of ArgumentValue.
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
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
97 98 99 |
# File 'lib/graphql/query/arguments.rb', line 97 def definition @definition end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
97 98 99 |
# File 'lib/graphql/query/arguments.rb', line 97 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
97 98 99 |
# File 'lib/graphql/query/arguments.rb', line 97 def value @value end |