Class: ConvenientService::Feature::Plugins::CanHaveStubbedEntries::Middleware

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

Instance Method Summary collapse

Instance Method Details

#nextObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



18
19
20
# File 'lib/convenient_service/feature/plugins/can_have_stubbed_entries/middleware.rb', line 18

def next(...)
  cache.read(key) || chain.next(...)
end