Class: Trek::UserPasswordReset
- Inherits:
-
Object
- Object
- Trek::UserPasswordReset
- Extended by:
- ActiveModel::Translation
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/trek/user_password_reset.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'app/models/trek/user_password_reset.rb', line 6 def email @email end |
Instance Method Details
#user ⇒ Object
8 9 10 |
# File 'app/models/trek/user_password_reset.rb', line 8 def user User.find_by(email:) end |