vendor/cache/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/core.rb
# Creates a new job instance from a hash created with +serialize+
Creates a new job instance from a hash created with +serialize+
Creates a new job instance from a hash created with + serialize +
def deserialize(job_data)
        job                      = job_data['job_class'].constantize.new
        job.job_id               = job_data['job_id']
        job.queue_name           = job_data['queue_name']
        job.serialized_arguments = job_data['arguments']
        job
      end
def deserialize ( job_data ) job = job_data [ 'job_class' ] . constantize . new job . job_id = job_data [ 'job_id' ] job . queue_name = job_data [ 'queue_name' ] job . serialized_arguments = job_data [ 'arguments' ] job end
Creates a new job instance from a hash created with +serialize+
Creates a new job instance from a hash created with + serialize +
job_data