Class: ExponentialBackoffWorker

Inherits:
Object
  • Object
show all
Includes:
Sneakers::Worker
Defined in:
lib/la_gear/sneakers/exponential_backoff_handler.rb

Instance Method Summary collapse

Instance Method Details

#work(msg) ⇒ Object



24
25
26
27
28
# File 'lib/la_gear/sneakers/exponential_backoff_handler.rb', line 24

def work(msg)
  puts "Got message #{msg} and rejecting now"

  return reject!
end