lib/cache/redis.rb in sensei_eod_utils-0.0.33 vs lib/cache/redis.rb in sensei_eod_utils-0.0.34
- old
+ new
@@ -4,17 +4,19 @@
module Cache
class Redis
class << self
def set(key, value, expiry = 3600)
+ raise "Test"
redis.set(key, value, ex: expiry)
end
def get(key)
+ raise redis.get(key).inspect
redis.get(key)
end
- private
+ private
def redis
@redis ||= Redis.new(url: ENV['REDIS_URL'])
end
end