Class: GraphQL::ResultCache::Result
- Inherits:
-
Object
- Object
- GraphQL::ResultCache::Result
- Extended by:
- Forwardable
- Defined in:
- lib/graphql/result_cache/result.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(query_result) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(query_result) ⇒ Result
Returns a new instance of Result.
10 11 12 13 |
# File 'lib/graphql/result_cache/result.rb', line 10 def initialize query_result @_result = query_result @value = process_with_result_cache end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/graphql/result_cache/result.rb', line 6 def value @value end |