File: //usr/local/rvm/gems/default/doc/activejob-6.1.4.1/ri/ActiveJob/Core/ClassMethods/set-i.ri
U:RDoc::AnyMethod[iI"set:ETI"&ActiveJob::Core::ClassMethods#set;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FCreates a job preconfigured with the given options. You can call ;TI"Fperform_later with the job arguments to enqueue the job with the ;TI"preconfigured options;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli : textI"Options;To:RDoc::Markup::List:
@type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o;
; [I"?<tt>:wait</tt> - Enqueues the job with the specified delay;To;;0; [o;
; [I"B<tt>:wait_until</tt> - Enqueues the job at the time specified;To;;0; [o;
; [I"><tt>:queue</tt> - Enqueues the job on the specified queue;To;;0; [o;
; [I"F<tt>:priority</tt> - Enqueues the job with the specified priority;T@S;;
i ;I"
Examples;T@o:RDoc::Markup::Verbatim; [I"@VideoJob.set(queue: :some_queue).perform_later(Video.last)
;TI"=VideoJob.set(wait: 5.minutes).perform_later(Video.last)
;TI"KVideoJob.set(wait_until: Time.now.tomorrow).perform_later(Video.last)
;TI"QVideoJob.set(queue: :some_queue, wait: 5.minutes).perform_later(Video.last)
;TI"_VideoJob.set(queue: :some_queue, wait_until: Time.now.tomorrow).perform_later(Video.last)
;TI"^VideoJob.set(queue: :some_queue, wait: 5.minutes, priority: 10).perform_later(Video.last);T:@format0:
@fileI"lib/active_job/core.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = {});T@3FI"ClassMethods;TcRDoc::NormalModule00