Class: Rollbar::Delay::DelayedJob

Inherits:
Object
  • Object
show all
Defined in:
lib/rollbar/delay/delayed_job.rb

Overview

This class provides the DelayedJob async handler. Users can use DelayedJob in order to send the reports to the Rollbar API

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.call(payload) ⇒ Object



7
8
9
# File 'lib/rollbar/delay/delayed_job.rb', line 7

def call(payload)
  new.delay.call(payload)
end

Instance Method Details

#call(payload) ⇒ Object



12
13
14
# File 'lib/rollbar/delay/delayed_job.rb', line 12

def call(payload)
  Rollbar.process_from_async_handler(payload)
end