Sha256: c9b282baa3127cfdbb178fce1721af389e064e37eb2ee3025a37fee0ab64971b
Contents?: true
Size: 529 Bytes
Versions: 74
Compression:
Stored size: 529 Bytes
Contents
require 'cms_scanner/cache/file_store' module CMSScanner module Cache # Cache implementation for Typhoeus class Typhoeus < FileStore # @param [ Typhoeus::Request ] request # # @return [ Typhoeus::Response ] def get(request) read_entry(request.hash.to_s) end # @param [ Typhoeus::Request ] request # @param [ Typhoeus::Response ] response def set(request, response) write_entry(request.hash.to_s, response, request.cache_ttl) end end end end
Version data entries
74 entries across 74 versions & 1 rubygems