Flowdock
method

enqueue_or_perform

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: TestAdapter
enqueue_or_perform(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 enqueue_or_perform(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.