Class: VirtualUser
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- VirtualUser
- Defined in:
- app/models/virtual_user.rb
Overview
These are the actual email addresses with passwords
Instance Attribute Summary collapse
-
#new_password ⇒ Object
Returns the value of attribute new_password.
Instance Method Summary collapse
-
#password=(value) ⇒ Object
Capture any misplaced password changes.
- #password_changing? ⇒ Boolean
Instance Attribute Details
#new_password ⇒ Object
Returns the value of attribute new_password.
9 10 11 |
# File 'app/models/virtual_user.rb', line 9 def new_password @new_password end |
Instance Method Details
#password=(value) ⇒ Object
Capture any misplaced password changes
15 16 17 |
# File 'app/models/virtual_user.rb', line 15 def password=(value) self.new_password = value end |
#password_changing? ⇒ Boolean
19 20 21 |
# File 'app/models/virtual_user.rb', line 19 def password_changing? !new_password.blank? end |