lib/devise/async/worker.rb in devise-async-0.5.1 vs lib/devise/async/worker.rb in devise-async-0.6.0
- old
+ new
@@ -1,11 +1,11 @@
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)
+ def self.enqueue(method, resource_class, resource_id, opts)
+ backend_class.enqueue(method, resource_class, resource_id, opts)
end
private
def self.backend_class