Sha256: 58e69d9f0ee581f9de5bbe02c24e9406936f65b07054c142d3b660fedd2ff967

Contents?: true

Size: 393 Bytes

Versions: 13

Compression:

Stored size: 393 Bytes

Contents

module Rollbar
  module Delay
    # This class provides the DelayedJob async handler. Users can
    # use DelayedJob in order to send the reports to the Rollbar API
    class DelayedJob
      class << self
        def call(payload)
          new.delay.call(payload)
        end
      end

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rollbar-2.14.0 lib/rollbar/delay/delayed_job.rb
rollbar-2.13.3 lib/rollbar/delay/delayed_job.rb
rollbar-2.13.2 lib/rollbar/delay/delayed_job.rb
rollbar-2.13.1 lib/rollbar/delay/delayed_job.rb
rollbar-2.13.0 lib/rollbar/delay/delayed_job.rb
rollbar-2.12.0 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.5 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.4 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.3 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.2 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.1 lib/rollbar/delay/delayed_job.rb
rollbar-2.11.0 lib/rollbar/delay/delayed_job.rb
rollbar-2.10.0 lib/rollbar/delay/delayed_job.rb