Class: Dino::Clients::Cache
Constant Summary
Constants inherited from Http
Instance Method Summary collapse
- #fetch_data(url, options) ⇒ Object
-
#initialize(expires_in: Dino.default_expiration) ⇒ Cache
constructor
A new instance of Cache.
Constructor Details
#initialize(expires_in: Dino.default_expiration) ⇒ Cache
Returns a new instance of Cache.
4 5 6 7 |
# File 'lib/dino/clients/cache.rb', line 4 def initialize(expires_in: Dino.default_expiration) @expires_in = expires_in super() end |