From 73161c5744feed7a6d86c18886a7a34fdc61dfb6 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Mon, 3 Nov 2014 19:22:11 -0800 Subject: Add documentation for class methods module included for AJ::Core used for serialization and deserialization of jobs. [ci skip] --- activejob/lib/active_job/core.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activejob/lib') 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) -- cgit v1.2.3