Class: Workers::ResetPassword

Inherits:
Base
  • Object
show all
Defined in:
app/workers/reset_password.rb

Instance Method Summary collapse

Methods inherited from Base

#suppress_annoying_errors

Instance Method Details

#perform(user_id) ⇒ Object


5
6
7
# File 'app/workers/reset_password.rb', line 5

def perform(user_id)
  User.find(user_id).send_reset_password_instructions!
end