Module: Webhookdb::Redis

Includes:
Appydays::Configurable
Defined in:
lib/webhookdb/redis.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.cacheObject

Returns the value of attribute cache.



10
11
12
# File 'lib/webhookdb/redis.rb', line 10

def cache
  @cache
end

Class Method Details

.cache_key(parts) ⇒ Object



31
32
33
34
# File 'lib/webhookdb/redis.rb', line 31

def self.cache_key(parts)
  tail = parts.join("/")
  return "cache/#{tail}"
end