Sha256: 4d48c72bea4e846c0f96ecc6f53dfd093a7118d6983a51e59fa5e8b848dea379
Contents?: true
Size: 369 Bytes
Versions: 3
Compression:
Stored size: 369 Bytes
Contents
module Devise module Async module Backend class Resque < Base @queue = :mailer def self.enqueue(*args) args.unshift(self) ::Resque.enqueue(*args) end def self.perform(method, resource_class, resource_id) new.perform(method, resource_class, resource_id) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devise-async-0.1.1 | lib/devise/async/backend/resque.rb |
devise-async-0.1.0 | lib/devise/async/backend/resque.rb |
devise-async-0.0.2 | lib/devise/async/backend/resque.rb |