ActiveJob::Callbacks::ClassMethods
module ActiveJob::Callbacks::ClassMethods
These methods will be included into any Active Job object, adding callbacks for perform
and enqueue
methods.
Public Instance Methods
Defines a callback that will get called right after the job is enqueued.
class VideoProcessJob < ActiveJob::Base queue_as :default after_enqueue do |job| $statsd.increment "enqu