Class: EOAT::Cache::NoneCache

Inherits:
Object
  • Object
show all
Defined in:
lib/eoat/cache/none_cache.rb

Overview

NoneCache - fake cache class. The default cache handler.

Author:

Instance Method Summary collapse

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