Class: Burninator::Warmer

Inherits:
Object
  • Object
show all
Defined in:
lib/burninator/warmer.rb

Instance Method Summary collapse

Constructor Details

#initialize(redis, channel, connection) ⇒ Warmer

Returns a new instance of Warmer.



3
4
5
6
7
# File 'lib/burninator/warmer.rb', line 3

def initialize(redis, channel, connection)
  @redis = redis
  @channel = channel
  @connection = connection
end

Instance Method Details

#runObject



9
10
11
12
# File 'lib/burninator/warmer.rb', line 9

def run
  trap_signals
  subscribe
end