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.
65 66 67 68 69 |
# File 'lib/graphql/query/arguments.rb', line 65 def initialize(key, value, definition) @key = key @value = value @definition = definition end |
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
64 65 66 |
# File 'lib/graphql/query/arguments.rb', line 64 def definition @definition end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
64 65 66 |
# File 'lib/graphql/query/arguments.rb', line 64 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
64 65 66 |
# File 'lib/graphql/query/arguments.rb', line 64 def value @value end |