Method: Rollbar::Delay::DelayedJob.call
- Defined in:
- lib/rollbar/delay/delayed_job.rb
.call(payload) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/rollbar/delay/delayed_job.rb', line 9 def call(payload) if queue new.delay(:queue => queue).call(payload) else new.delay.call(payload) end end |