class RedisClient::BasicMiddleware
Attributes
client[R]
Public Class Methods
new(client)
click to toggle source
# File lib/redis_client/middlewares.rb, line 7 def initialize(client) @client = client end
Public Instance Methods
call(command, _config) { |command| ... }
click to toggle source
# File lib/redis_client/middlewares.rb, line 15 def call(command, _config) yield command end
Also aliased as: call_pipelined
connect(_config) { || ... }
click to toggle source
# File lib/redis_client/middlewares.rb, line 11 def connect(_config) yield end