Skip to content

Commit e5b4afb

Browse files
authored
Update charge.rb
1 parent bc284a2 commit e5b4afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/pay/stripe/charge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def api_record
9191
# refund!
9292
# refund!(5_00)
9393
# refund!(5_00, refund_application_fee: true)
94-
def refund!(amount_to_refund, **options)
94+
def refund!(amount_to_refund = nil, **options)
9595
amount_to_refund ||= amount
9696

9797
if stripe_invoice.present?

0 commit comments

Comments
 (0)