Class: Faraday::HttpCache::Storage Deprecated
- Inherits:
-
Faraday::HttpCache::Strategies::ByUrl
- Object
- Faraday::HttpCache::Strategies::BaseStrategy
- Faraday::HttpCache::Strategies::ByUrl
- Faraday::HttpCache::Storage
- Defined in:
- lib/faraday/http_cache/storage.rb
Overview
Deprecated.
Use Faraday::HttpCache::Strategies::ByUrl instead.
Instance Attribute Summary
Attributes inherited from Faraday::HttpCache::Strategies::BaseStrategy
Instance Method Summary collapse
-
#initialize ⇒ Storage
constructor
A new instance of Storage.
Methods inherited from Faraday::HttpCache::Strategies::ByUrl
Methods inherited from Faraday::HttpCache::Strategies::BaseStrategy
Constructor Details
#initialize ⇒ Storage
Returns a new instance of Storage.
9 10 11 12 13 |
# File 'lib/faraday/http_cache/storage.rb', line 9 def initialize(*) Kernel.warn("Deprecated: #{self.class} is deprecated and will be removed in " \ 'the next major release. Use Faraday::HttpCache::Strategies::ByUrl instead.') super end |