Class: ConvenientService::Common::Plugins::CachesReturnValue::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Common::Plugins::CachesReturnValue::Middleware
- Defined in:
- lib/convenient_service/common/plugins/caches_return_value/middleware.rb
Instance Method Summary collapse
-
#next ⇒ Object
Can be any type.
Instance Method Details
#next ⇒ Object
Returns Can be any type.
13 14 15 |
# File 'lib/convenient_service/common/plugins/caches_return_value/middleware.rb', line 13 def next(...) cache.fetch(key) { chain.next(...) } end |