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:
parent
11370eea81
commit
dc5854f382
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ module ActiveJob
|
|||
define_callbacks :enqueue
|
||||
end
|
||||
|
||||
# These methods will be included into any Active Job object, adding
|
||||
# callbacks for `perform` and `enqueue` methods.
|
||||
module ClassMethods
|
||||
# Defines a callback that will get called right before the
|
||||
# job's perform method is executed.
|
||||
|
|
Loading…
Reference in a new issue