Module: Checkend::Integrations::ActiveJob::Extension

Extended by:
ActiveSupport::Concern
Defined in:
lib/checkend/integrations/active_job.rb

Overview

Extension module to include in ActiveJob::Base

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



48
49
50
51
52
53
# File 'lib/checkend/integrations/active_job.rb', line 48

def self.included(base)
  base.class_eval do
    around_perform :checkend_around_perform
    rescue_from(StandardError) { |e| checkend_handle_error(e) }
  end
end