Method: Pay::FakeProcessor::Charge#refund!
- Defined in:
- lib/pay/fake_processor/charge.rb
#refund!(amount_to_refund) ⇒ Object
16 17 18 |
# File 'lib/pay/fake_processor/charge.rb', line 16 def refund!(amount_to_refund) pay_charge.update(amount_refunded: amount_to_refund) end |