Sha256: 9c9782ce5a52d0fb24a34aef6042785212f638c13ac68666b37379708df17f58
Contents?: true
Size: 250 Bytes
Versions: 2
Compression:
Stored size: 250 Bytes
Contents
module Restfulie::Client::Cache module Restrictions class << self # checks whether this request verb and its cache headers allow caching def may_cache?(response) response && response.may_cache? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restfulie-1.0.0.beta1 | lib/restfulie/client/cache/restrictions.rb |
restfulie-0.1.0.beta1 | lib/restfulie/client/cache/restrictions.rb |