1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Document the class methods include module for AJ::Callbacks [ci skip]

This commit is contained in:
Zachary Scott 2014-11-03 19:21:43 -08:00
parent 11370eea81
commit dc5854f382

View file

@ -22,6 +22,8 @@ module ActiveJob
define_callbacks :enqueue define_callbacks :enqueue
end end
# These methods will be included into any Active Job object, adding
# callbacks for `perform` and `enqueue` methods.
module ClassMethods module ClassMethods
# Defines a callback that will get called right before the # Defines a callback that will get called right before the
# job's perform method is executed. # job's perform method is executed.