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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Instance Method Details

#nextObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.

Since:

  • 1.0.0



18
19
20
# File 'lib/convenient_service/common/plugins/caches_return_value/middleware.rb', line 18

def next(...)
  cache.fetch(key) { chain.next(...) }
end