method

job_to_hash

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: TestAdapter
job_to_hash(job, extras = {}) 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/queue_adapters/test_adapter.rb, line 42
      def job_to_hash(job, extras = {})
        { job: job.class, args: job.serialize.fetch('arguments'), queue: job.queue_name }.merge!(extras)
      end
Register or log in to add new notes.