Class: CypherBuilder::MicroResolver
- Inherits:
-
Struct
- Object
- Struct
- CypherBuilder::MicroResolver
- Includes:
- Resolver
- Defined in:
- lib/cypher_builder/order_by.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
Methods included from Resolver
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context
2 3 4 |
# File 'lib/cypher_builder/order_by.rb', line 2 def context @context end |
#payload ⇒ Object
Returns the value of attribute payload
2 3 4 |
# File 'lib/cypher_builder/order_by.rb', line 2 def payload @payload end |
Instance Method Details
#execute(value) ⇒ Object
4 5 6 |
# File 'lib/cypher_builder/order_by.rb', line 4 def execute(value) resolve(value, payload: payload, context: context) end |