new(*arguments)
public
Creates a new job instance.
Takes the arguments that will be passed to the perform method.
# File activejob/lib/active_job/core.rb, line 95
def initialize(*arguments)
@arguments = arguments
@job_id = SecureRandom.uuid
@queue_name = self.class.queue_name
@scheduled_at = nil
@_scheduled_at_time = nil
@priority = self.class.priority
@executions = 0
@exception_executions = {}
@timezone = Time.zone&.name
end