HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activejob-7.0.4.2/ri/ActiveJob/Core/deserialize-i.ri
U:RDoc::AnyMethod[iI"deserialize:ETI" ActiveJob::Core#deserialize;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"KAttaches the stored job data to the current instance. Receives a hash ;TI"returned from +serialize+;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading:
leveli	:	textI"
Examples;T@o:RDoc::Markup::Verbatim;	[I"/class DeliverWebhookJob < ActiveJob::Base
;TI"#  attr_writer :attempt_number
;TI"
;TI"  def attempt_number
;TI"    @attempt_number ||= 0
;TI"  end
;TI"
;TI"  def serialize
;TI"=    super.merge('attempt_number' => attempt_number + 1)
;TI"  end
;TI"
;TI"!  def deserialize(job_data)
;TI"    super
;TI":    self.attempt_number = job_data['attempt_number']
;TI"  end
;TI"
;TI"2  rescue_from(Timeout::Error) do |exception|
;TI"/    raise exception if attempt_number > 5
;TI"    retry_job(wait: 10)
;TI"  end
;TI"end;T:@format0:
@fileI"lib/active_job/core.rb;T:0@omit_headings_from_table_of_contents_below000[I"(job_data);T@)FI"	Core;TcRDoc::NormalModule00