Class: Resterl::Caches::NilCache
- Inherits:
-
CacheInterface
- Object
- CacheInterface
- Resterl::Caches::NilCache
- Defined in:
- lib/resterl/caches/nil_cache.rb
Overview
Disable caching with the NilCache :-)
Instance Method Summary collapse
Instance Method Details
#delete(key) ⇒ Object
9 10 11 |
# File 'lib/resterl/caches/nil_cache.rb', line 9 def delete key nil end |
#read(key) ⇒ Object
3 4 5 |
# File 'lib/resterl/caches/nil_cache.rb', line 3 def read key nil end |
#write(key, value, expires_in) ⇒ Object
6 7 8 |
# File 'lib/resterl/caches/nil_cache.rb', line 6 def write key, value, expires_in value end |