Class: Faraday::HttpCache::Storage Deprecated

Inherits:
Faraday::HttpCache::Strategies::ByUrl show all
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

#cache

Instance Method Summary collapse

Methods inherited from Faraday::HttpCache::Strategies::ByUrl

#delete, #read, #write

Methods inherited from Faraday::HttpCache::Strategies::BaseStrategy

#delete, #read, #write

Constructor Details

#initializeStorage

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