class Thoth::Cache::Noop

This is a no-op cache API used when the cache is disabled in order to avoid having to make constant configuration checks.

Public Instance Methods

cache_clear() click to toggle source
# File lib/thoth/cache.rb, line 36
def cache_clear; end
cache_delete(key, *keys) click to toggle source
# File lib/thoth/cache.rb, line 38
def cache_delete(key, *keys)
  nil
end
cache_fetch(key, default = nil) click to toggle source
# File lib/thoth/cache.rb, line 42
def cache_fetch(key, default = nil)
  default
end
cache_setup(hostname, username, appname, cachename) click to toggle source
# File lib/thoth/cache.rb, line 46
def cache_setup(hostname, username, appname, cachename); end
cache_store(key, value, options = {}) click to toggle source
# File lib/thoth/cache.rb, line 48
def cache_store(key, value, options = {})
  value
end