Method: Cnf::Watcher#initialize
- Defined in:
- lib/cnf/watcher.rb
#initialize ⇒ Watcher
Returns a new instance of Watcher.
12 13 14 |
# File 'lib/cnf/watcher.rb', line 12 def initialize @redis = Redis.new(url: ENV["REDIS_PUBSUB_URL"]) end |