lib/suo/client/redis.rb in suo-dependless-0.3.2 vs lib/suo/client/redis.rb in suo-dependless-0.4.0
- old
+ new
@@ -2,10 +2,9 @@
module Client
class Redis < Base
OK_STR = "OK".freeze
def initialize(key, options = {})
- options[:client] ||= ::Redis.new(options[:connection] || {})
super
end
def clear
@client.del(@key)