lib/backburner.rb in backburner-allq-1.0.11 vs lib/backburner.rb in backburner-allq-1.0.12
- old
+ new
@@ -23,11 +23,11 @@
# Enqueues a job to be performed with given arguments.
#
# @example
# Backburner.enqueue NewsletterSender, self.id, user.id
#
- def enqueue(job_class, args, opts = {})
- Backburner::Worker.enqueue(job_class, args, opts)
+ def enqueue(job_class, *args)
+ Backburner::Worker.enqueue(job_class, args, {})
end
# Begins working on jobs enqueued with optional tubes specified
#
# @example