Class: CortexReaver::Cache::Noop

Inherits:
Object
  • Object
show all
Includes:
Innate::Cache::API
Defined in:
lib/cortex_reaver/cache.rb

Instance Method Summary collapse

Instance Method Details

#cache_clearObject



6
# File 'lib/cortex_reaver/cache.rb', line 6

def cache_clear; end

#cache_fetch(key, default = nil) ⇒ Object



12
13
14
# File 'lib/cortex_reaver/cache.rb', line 12

def cache_fetch(key, default = nil)
  default
end

#cache_setup(host, user, app, cache) ⇒ Object



16
# File 'lib/cortex_reaver/cache.rb', line 16

def cache_setup(host, user, app, cache); end

#cache_store(key, value, options = {}) ⇒ Object



18
19
20
# File 'lib/cortex_reaver/cache.rb', line 18

def cache_store(key, value, options = {})
  value
end

#cached_delete(key, *keys) ⇒ Object



8
9
10
# File 'lib/cortex_reaver/cache.rb', line 8

def cached_delete(key, *keys)
  nil
end