Sha256: e954fd78a24fdea1cb857100128b13fa808d347eb99d9c415cb3dddfb28cbc0a

Contents?: true

Size: 268 Bytes

Versions: 22

Compression:

Stored size: 268 Bytes

Contents

require 'sucker_punch'

module Rollbar
  module Delay
    class SuckerPunch

      include ::SuckerPunch::Job

      def call(payload)
        async.perform payload
      end

      def perform(*args)
        Rollbar.process_payload(*args)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
rollbar-0.13.1 lib/rollbar/delay/sucker_punch.rb
rollbar-0.13.0 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.20 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.19 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.18 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.17 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.16 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.15 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.14 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.13 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.12 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.11 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.10 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.9 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.8 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.7 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.6 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.5 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.3 lib/rollbar/delay/sucker_punch.rb
rollbar-0.12.2 lib/rollbar/delay/sucker_punch.rb