Sha256: afb0eb1a4a2a414a70b7e8223115f4d56e22f99473566e820bd259d3a4a2b1be
Contents?: true
Size: 515 Bytes
Versions: 18
Compression:
Stored size: 515 Bytes
Contents
require 'resque' module Rollbar module Delay class Resque def self.call(payload) new.call(payload) end def call(payload) ::Resque.enqueue(Job, payload) end class Job class << self attr_accessor :queue end self.queue = :default def self.perform(payload) new.perform(payload) end def perform(payload) Rollbar.process_payload_safely(payload) end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems