Class: Geri::PasswordReset
- Inherits:
-
Object
- Object
- Geri::PasswordReset
- Extended by:
- ActiveModel::Naming
- Includes:
- ActiveModel::Conversion, ActiveModel::Validations
- Defined in:
- app/models/geri/password_reset.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PasswordReset
constructor
A new instance of PasswordReset.
- #persisted? ⇒ Boolean
Constructor Details
#initialize(options = {}) ⇒ PasswordReset
Returns a new instance of PasswordReset.
9 10 11 |
# File 'app/models/geri/password_reset.rb', line 9 def initialize(={}) @email = [:email] end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
7 8 9 |
# File 'app/models/geri/password_reset.rb', line 7 def email @email end |
Instance Method Details
#persisted? ⇒ Boolean
13 14 15 |
# File 'app/models/geri/password_reset.rb', line 13 def persisted? false end |