Sha256: 21e120f50727a44a870b405dc2241892cd0454d33397136747be5a829ef70ce6

Contents?: true

Size: 284 Bytes

Versions: 18

Compression:

Stored size: 284 Bytes

Contents

require 'sucker_punch'

module Rollbar
  module Delay
    class SuckerPunch

      include ::SuckerPunch::Job

      def self.call(payload)
        new.async.perform payload
      end

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rollbar-2.1.2 lib/rollbar/delay/sucker_punch.rb
rollbar-2.1.1 lib/rollbar/delay/sucker_punch.rb
rollbar-2.1.0 lib/rollbar/delay/sucker_punch.rb
rollbar-2.0.2 lib/rollbar/delay/sucker_punch.rb
rollbar-2.0.1 lib/rollbar/delay/sucker_punch.rb
rollbar-2.0.0 lib/rollbar/delay/sucker_punch.rb
rollbar-1.5.3 lib/rollbar/delay/sucker_punch.rb
rollbar-1.5.2 lib/rollbar/delay/sucker_punch.rb
rollbar-1.5.1 lib/rollbar/delay/sucker_punch.rb
rollbar-1.5.0 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.5 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.4 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.3 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.2 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.1 lib/rollbar/delay/sucker_punch.rb
rollbar-1.4.0 lib/rollbar/delay/sucker_punch.rb
rollbar-1.3.2 lib/rollbar/delay/sucker_punch.rb
rollbar-1.3.1 lib/rollbar/delay/sucker_punch.rb