class Rollbar::Delay::ActiveJob

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

Public Class Methods

call(payload) click to toggle source
# File lib/rollbar/delay/active_job.rb, line 12
def self.call(payload)
  perform_later payload
end

Public Instance Methods

perform(payload) click to toggle source
# File lib/rollbar/delay/active_job.rb, line 8
def perform(payload)
  Rollbar.process_from_async_handler(payload)
end