Sha256: 0f2d8a9f45fac4fc822fc0130582faeeabcc752764028d07cd35789c2237a2a5
Contents?: true
Size: 412 Bytes
Versions: 2
Compression:
Stored size: 412 Bytes
Contents
module Devise module Async class Worker # Used is the internal interface for devise-async to enqueue notifications # to the desired backend. def self.enqueue(method, resource_class, resource_id) backend_class.enqueue(method, resource_class, resource_id) end private def self.backend_class Backend.for(Devise::Async.backend) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-async-0.5.1 | lib/devise/async/worker.rb |
devise-async-0.5.0 | lib/devise/async/worker.rb |