class EOAT::Cache::NoneCache

NoneCache - fake cache class. The default cache handler. @author Ivan Kotov {i.s.kotov.ws e-mail}

Public Instance Methods

get(host, uri) click to toggle source

Fake get method. Always return false @param [String] host the request host string @param [String] uri the query string @return [FalseClass]

# File lib/eoat/cache/none_cache.rb, line 14
def get(host, uri)
  return false
end
save(host, uri, content) click to toggle source

Fake save method. It does not make anything @param [String] host the request host string @param [String] uri the query string @param [Object] content the result class instance

# File lib/eoat/cache/none_cache.rb, line 22
def save(host, uri, content)
end