method

enqueue_at

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: TestAdapter
enqueue_at(job, timestamp) public

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 41
      def enqueue_at(job, timestamp) #:nodoc:
        if perform_enqueued_at_jobs
          performed_jobs << {job: job.class, args: job.serialize['arguments'], queue: job.queue_name, at: timestamp}
          Base.execute job.serialize
        else
          enqueued_jobs << {job: job.class, args: job.serialize['arguments'], queue: job.queue_name, at: timestamp}
        end
      end
Register or log in to add new notes.