module Kredis

Constants

VERSION

Public Instance Methods

instrument(channel, **options, &block) click to toggle source
# File lib/kredis.rb, line 27
def instrument(channel, **options, &block)
  ActiveSupport::Notifications.instrument("#{channel}.kredis", **options, &block)
end
redis(config: :shared) click to toggle source
# File lib/kredis.rb, line 23
def redis(config: :shared)
  configured_for(config)
end