Sha256: f81689e4b8b2332643563f4141d55adfdfea859d06681f14e17cdf72a6ff0f02
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
require "qe" require "qu" module Qe class Qu class Worker def self.perform(*args) Qe::Worker.perform(*args) end end def self.enqueue(worker, options = {}) Worker.instance_variable_set("@queue", worker.queue) ::Qu.enqueue Worker, worker.name, options end def self.schedule(*) raise UnsupportedFeatureError, "scheduling isn't supported on Qu" end end self.adapter = Qu end
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
qe-0.4.0 | lib/qe/qu.rb |
qe-0.3.5 | lib/qe/qu.rb |
qe-0.3.4 | lib/qe/qu.rb |
qe-0.3.3 | lib/qe/qu.rb |
qe-0.3.2 | lib/qe/qu.rb |
qe-0.3.1 | lib/qe/qu.rb |
qe-0.3.0 | lib/qe/qu.rb |
qe-0.2.1 | lib/qe/qu.rb |