method

perform_or_enqueue

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: TestAdapter
perform_or_enqueue(perform, job, job_data) 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 47
        def perform_or_enqueue(perform, job, job_data)
          if perform
            performed_jobs << job_data
            Base.execute(job.serialize)
          else
            enqueued_jobs << job_data
          end
        end
Register or log in to add new notes.