lib/stripe/application_fee.rb
# 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.
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.
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(params, opts)
      self.refresh
    end
def refund ( params = { } , opts = { } ) self . refunds . create ( params , opts ) self . refresh end
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.
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 .
# 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 # from the server
params
opts