class WarpCore::RedisPoolInstance

This class simply delegates every method call to the Sidekiq redis connection. Use RedisPoolInstance.new to get a shared redis connection.

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source

@!visibility private

# File lib/warpcore/sidekiq.rb, line 80
def method_missing(meth, *args, &block)
  Sidekiq.redis do |connection|
    connection.send(meth, *args, &block)
  end
end
respond_to_missing?(meth) click to toggle source

@!visibility private

# File lib/warpcore/sidekiq.rb, line 86
def respond_to_missing?(meth)
  Sidekiq.redis do |connection|
    connection.respond_to?(meth)
  end
end