aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/callbacks.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-11-03 19:21:43 -0800
committerZachary Scott <e@zzak.io>2014-11-03 19:21:43 -0800
commitdc5854f3829a34288019895b06e86f12a9153e01 (patch)
treecdb4b3f78631afb91a10c74c9a777c0b5d0d533e /activejob/lib/active_job/callbacks.rb
parent11370eea81ca3b7b9d79264c0a4517c961d45bf6 (diff)
downloadrails-dc5854f3829a34288019895b06e86f12a9153e01.tar.gz
rails-dc5854f3829a34288019895b06e86f12a9153e01.tar.bz2
rails-dc5854f3829a34288019895b06e86f12a9153e01.zip
Document the class methods include module for AJ::Callbacks [ci skip]
Diffstat (limited to 'activejob/lib/active_job/callbacks.rb')
-rw-r--r--activejob/lib/active_job/callbacks.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activejob/lib/active_job/callbacks.rb b/activejob/lib/active_job/callbacks.rb
index 29e2a878b4..46a402b017 100644
--- a/activejob/lib/active_job/callbacks.rb
+++ b/activejob/lib/active_job/callbacks.rb
@@ -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.