Sha256: fd2199092a236b49e3d689968d2167cf4ae9f6110bf4e07221fe73f4e533eca0
Contents?: true
Size: 407 Bytes
Versions: 8
Compression:
Stored size: 407 Bytes
Contents
class Restfulie::Client::Feature::Cache def execute(flow, request, env) found = Restfulie::Client.cache_provider.get([request.host, request.path], request) return found if found resp = flow.continue(request, env) if resp.kind_of?(Exception) resp else Restfulie::Client.cache_provider.put([request.host, request.path], request, resp) resp end end end
Version data entries
8 entries across 8 versions & 2 rubygems