Class: CashOut::Payments::Customer::Delete
- Inherits:
-
ServiceBase
- Object
- ActiveInteraction::Base
- ServiceBase
- CashOut::Payments::Customer::Delete
- Defined in:
- lib/cash_out/payments/customer/delete.rb
Constant Summary
Constants inherited from ServiceBase
Instance Method Summary collapse
Methods inherited from ServiceBase
#failure_message, #failure_status, #success_message, #validate_and_save
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 |
# File 'lib/cash_out/payments/customer/delete.rb', line 7 def execute delete_customer user.stripe_id = nil validate_and_save(user) end |