lib/weeter/plugins/subscription/redis.rb in weeter-0.9.2 vs lib/weeter/plugins/subscription/redis.rb in weeter-0.10.0

- old
+ new

@@ -3,11 +3,11 @@ module Weeter module Plugins module Subscription class Redis include Weeter::Plugins::Net::Redis - + def initialize(client_app_config) @config = client_app_config end def get_initial_filters(&block) @@ -27,20 +27,20 @@ get_initial_filters do |filter_params| tweet_consumer.reconnect(filter_params) end end end - + protected - + def redis @redis ||= create_redis_client end def pub_sub_redis @pub_sub_redis ||= create_redis_client end - + end end end -end \ No newline at end of file +end