module CacheCrispies
The top level namespace module for the gem
Constants
- CACHE_KEY_PREFIX
A prefix used in building cache key. This should be extra insurance against key conflicts and also provides an easy way to search for keys in Redis.
- CACHE_KEY_SEPARATOR
The string to use to join parts of the cache keys together
- VERSION
The version of the gem
Public Class Methods
cache()
click to toggle source
# File lib/cache_crispies.rb, line 37 def self.cache config.cache_store end
config()
click to toggle source
# File lib/cache_crispies.rb, line 33 def self.config @config ||= Configuration.new end
configure() { |config| ... }
click to toggle source
# File lib/cache_crispies.rb, line 29 def self.configure yield config end