Class: EOAT::Cache::NoneCache
- Inherits:
-
Object
- Object
- EOAT::Cache::NoneCache
- Defined in:
- lib/eoat/cache/none_cache.rb
Overview
NoneCache - fake cache class. The default cache handler.
Instance Method Summary collapse
-
#get(host, uri) ⇒ FalseClass
Fake get method.
-
#save(host, uri, content) ⇒ Object
Fake save method.
Instance Method Details
#get(host, uri) ⇒ FalseClass
Fake get method. Always return false
14 15 16 |
# File 'lib/eoat/cache/none_cache.rb', line 14 def get(host, uri) return false end |
#save(host, uri, content) ⇒ Object
Fake save method. It does not make anything
22 23 |
# File 'lib/eoat/cache/none_cache.rb', line 22 def save(host, uri, content) end |