Class: Ipregistry::Cache::None
- Inherits:
-
Object
- Object
- Ipregistry::Cache::None
- Defined in:
- lib/ipregistry/cache.rb
Overview
The default cache: stores nothing, so lookups always hit the API and data is never stale.
Instance Method Summary collapse
Instance Method Details
#clear ⇒ Object
23 |
# File 'lib/ipregistry/cache.rb', line 23 def clear = nil |
#delete(_key) ⇒ Object
21 |
# File 'lib/ipregistry/cache.rb', line 21 def delete(_key) = nil |
#get(_key) ⇒ Object
17 |
# File 'lib/ipregistry/cache.rb', line 17 def get(_key) = nil |
#set(_key, _value) ⇒ Object
19 |
# File 'lib/ipregistry/cache.rb', line 19 def set(_key, _value) = nil |