Sha256: dded7c75ff3346da5553f3760ab45d1a1404a5d5e7e3a43e53168330842ab433
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
module Devise module Async module Backend class DelayedJob < Base def self.enqueue(*args) new.delay(:queue => Devise::Async.queue, :priority => priority).perform(*args) end def self.priority Devise::Async.priority.nil? ? Delayed::Worker.default_priority : Devise::Async.priority end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devise-async-0.10.2 | lib/devise/async/backend/delayed_job.rb |
devise-async-0.10.1 | lib/devise/async/backend/delayed_job.rb |
devise-async-0.10.1.alpha | lib/devise/async/backend/delayed_job.rb |