Class: Booth::Adminland::Recoveries::Consume
- Inherits:
-
Object
- Object
- Booth::Adminland::Recoveries::Consume
- Includes:
- Logging, MethodObject
- Defined in:
- lib/booth/adminland/recoveries/consume.rb
Overview
When sending out username recovery emails, this class helps to keep the sending mechanism idempodent.
Instance Method Summary collapse
Methods included from MethodObject
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 |
# File 'lib/booth/adminland/recoveries/consume.rb', line 13 def call do_find_recovery .on_success { do_find_credential } .on_success { do_check_eligibility } .on_success { do_consume } end |