Flowdock
method

enqueue_at

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: QueueClassicAdapter
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/queue_classic_adapter.rb, line 25
        def enqueue_at(job, timestamp) #:nodoc:
          queue = build_queue(job.queue_name)
          unless queue.respond_to?(:enqueue_at)
            raise NotImplementedError, 'To be able to schedule jobs with queue_classic '                'the QC::Queue needs to respond to `enqueue_at(timestamp, method, *args)`. '                'You can implement this yourself or you can use the queue_classic-later gem.'
          end
          queue.enqueue_at(timestamp, "#{JobWrapper.name}.perform", job.serialize)
        end
Register or log in to add new notes.