module Technologic
Constants
- ACTIVEJOB_WORKAROUND_FIRST_VERSION
- EXCEPTION_SEVERITIES
- SEVERITIES
- VERSION
This constant is managed by spicerack
Protected Instance Methods
instrument(*args, **opts, &block)
click to toggle source
DEP-2021-01-14 Remove this method
Calls superclass method
# File lib/technologic.rb, line 55 def instrument(*args, **opts, &block) # Targeted workaround for ActiveJob#instrument in Rails 6.1+ return super if defined?(ActiveJob) && self.class <= ActiveJob::Base && ActiveJob.version >= ACTIVEJOB_WORKAROUND_FIRST_VERSION self.class.instrument(*args, **opts, &block) end