Class: ConvenientService::Common::Plugins::CachesReturnValue::Middleware

Inherits:
MethodChainMiddleware
  • Object
show all
Defined in:
lib/convenient_service/common/plugins/caches_return_value/middleware.rb

Instance Method Summary collapse

Instance Method Details

#nextObject

Returns Can be any type.

Returns:

  • (Object)

    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