aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-11-03 19:22:11 -0800
committerZachary Scott <e@zzak.io>2014-11-03 19:22:11 -0800
commit73161c5744feed7a6d86c18886a7a34fdc61dfb6 (patch)
treef6de8e00916196da7219dac6c2b29152bc45485a /activejob/lib
parentdc5854f3829a34288019895b06e86f12a9153e01 (diff)
downloadrails-73161c5744feed7a6d86c18886a7a34fdc61dfb6.tar.gz
rails-73161c5744feed7a6d86c18886a7a34fdc61dfb6.tar.bz2
rails-73161c5744feed7a6d86c18886a7a34fdc61dfb6.zip
Add documentation for class methods module included for AJ::Core used
for serialization and deserialization of jobs. [ci skip]
Diffstat (limited to 'activejob/lib')
-rw-r--r--activejob/lib/active_job/core.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activejob/lib/active_job/core.rb b/activejob/lib/active_job/core.rb
index 68d46e6466..a0e55a0028 100644
--- a/activejob/lib/active_job/core.rb
+++ b/activejob/lib/active_job/core.rb
@@ -17,6 +17,8 @@ module ActiveJob
attr_writer :queue_name
end
+ # These methods will be included into any Active Job object, adding
+ # helpers for de/serialization and creation of job instances.
module ClassMethods
# Creates a new job instance from a hash created with +serialize+
def deserialize(job_data)