Class: Booth::Requests::Storages::Recovery
- Inherits:
-
Object
- Object
- Booth::Requests::Storages::Recovery
- Includes:
- Logging
- Defined in:
- lib/booth/requests/storages/recovery.rb
Instance Method Summary collapse
-
#email ⇒ Object
——- Getters ——-.
-
#email=(new_email) ⇒ Object
——- Setters ——-.
-
#initialize(session:) ⇒ Recovery
constructor
A new instance of Recovery.
Constructor Details
#initialize(session:) ⇒ Recovery
Returns a new instance of Recovery.
9 10 11 |
# File 'lib/booth/requests/storages/recovery.rb', line 9 def initialize(session:) @session = session end |
Instance Method Details
#email ⇒ Object
Getters
17 18 19 |
# File 'lib/booth/requests/storages/recovery.rb', line 17 def email session[:email] end |
#email=(new_email) ⇒ Object
Setters
25 26 27 |
# File 'lib/booth/requests/storages/recovery.rb', line 25 def email=(new_email) session[:email] = new_email end |