Sha256: 8d1a9ceb05bc8be623a0e08e596053f16708ad1d119b2a021e833798f082bf5e

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

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

          def run(args)
            Backend::Que.new.perform(*args)
          end
        end

        def self.enqueue(*args)
          Job.enqueue(args)
        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/que.rb
devise-async-0.10.1 lib/devise/async/backend/que.rb
devise-async-0.10.1.alpha lib/devise/async/backend/que.rb