class Startback::Caching::NoStore
Caching
store implementation that caches nothing at all.
Public Class Methods
new()
click to toggle source
# File lib/startback/caching/no_store.rb, line 8 def initialize end
Public Instance Methods
delete(key)
click to toggle source
# File lib/startback/caching/no_store.rb, line 23 def delete(key) end
exist?(key)
click to toggle source
# File lib/startback/caching/no_store.rb, line 11 def exist?(key) false end
get(key)
click to toggle source
# File lib/startback/caching/no_store.rb, line 15 def get(key) nil end
set(key, value, ttl)
click to toggle source
# File lib/startback/caching/no_store.rb, line 19 def set(key, value, ttl) value end