Method: OkComputer::RedisCheck#initialize

Defined in:
lib/ok_computer/built_in_checks/redis_check.rb

#initialize(redis_config) ⇒ RedisCheck

Public: Initialize a new Redis check.

redis_config - The configuration of the Redis instance.

Expects any valid configuration that can be passed to Redis.new.
See https://github.com/redis/redis-rb#getting-started


15
16
17
# File 'lib/ok_computer/built_in_checks/redis_check.rb', line 15

def initialize(redis_config)
  @redis_config = redis_config
end