method

instantiate_job

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: TestHelper
instantiate_job(payload) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/test_helper.rb, line 687
      def instantiate_job(payload)
        job = payload[:job].deserialize(payload)
        job.scheduled_at = Time.at(payload[:at]) if payload.key?(:at)
        job.send(:deserialize_arguments_if_needed)
        job
      end
Register or log in to add new notes.