Attaches the stored job data to the current instance. Receives a hash
returned from serialize
Examples
class DeliverWebhookJob<ActiveJob::Baseattr_writer:attempt_numberdef attempt_number@attempt_number||=0enddef serializesuper.merge('attempt_number'=>attempt_number+1)enddef deserialize(job_data)superself.attempt_number=job_data['attempt_number']endrescue_from(Timeout::Error)do|exception|raiseexceptionifattempt_number>5retry_job(wait:10)endend