Method: Sentry::Redis#initialize

Defined in:
lib/sentry/redis.rb

#initialize(commands, host, port, db) ⇒ Redis

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Redis.


10
11
12
# File 'lib/sentry/redis.rb', line 10

def initialize(commands, host, port, db)
  @commands, @host, @port, @db = commands, host, port, db
end