set(options = {})
public
Configures the job with the given options.
# File activejob/lib/active_job/core.rb, line 168
def set(options = {}) # :nodoc:
self.scheduled_at = options[:wait].seconds.from_now if options[:wait]
self.scheduled_at = options[:wait_until] if options[:wait_until]
self.queue_name = self.class.queue_name_from_part(options[:queue]) if options[:queue]
self.priority = options[:priority].to_i if options[:priority]
self
end