Sha256: 42a7e9b983f8d79444320a950832b1218ff132546cf1e8bc5e6d75c01cd6c1d3

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 Bytes

Contents

module Devise
  module Async
    module Backend
      class Resque < Base
        @queue = Devise::Async.queue

        def self.enqueue(*args)
          args.unshift(self)
          ::Resque.enqueue(*args)
        end

        def self.perform(*args)
          new.perform(*args)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise-async-0.10.2 lib/devise/async/backend/resque.rb
devise-async-0.10.1 lib/devise/async/backend/resque.rb
devise-async-0.10.1.alpha lib/devise/async/backend/resque.rb
devise-async-0.9.0 lib/devise/async/backend/resque.rb
devise-async-0.8.0 lib/devise/async/backend/resque.rb