mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-08 00:02:46 -04:00
Merge pull request #387 from stripe/brandur-pass-params-fee-refund
Pass params and opts through on `ApplicationFee#refund`
This commit is contained in:
commit
f711494f54
@ -9,7 +9,7 @@ module Stripe
|
||||
# If you don't need access to an updated fee object after the refund, it's
|
||||
# more performant to just call `fee.refunds.create` directly.
|
||||
def refund(params={}, opts={})
|
||||
self.refunds.create
|
||||
self.refunds.create(params, opts)
|
||||
|
||||
# now that a refund has been created, we expect the state of this object
|
||||
# to change as well (i.e. `refunded` will now be `true`) so refresh it
|
||||
|
Loading…
x
Reference in New Issue
Block a user