Class: User
- Inherits:
-
Object
- Object
- User
- Includes:
- ActiveModel::API, ActiveModel::SecurePassword
- Defined in:
- app/models/user.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#password_digest ⇒ Object
Returns the value of attribute password_digest.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
5 6 7 |
# File 'app/models/user.rb', line 5 def email @email end |
#password_digest ⇒ Object
Returns the value of attribute password_digest.
5 6 7 |
# File 'app/models/user.rb', line 5 def password_digest @password_digest end |