Sha256: 35431d7bd94cc3360d856056f22982e6b244829d58c881d52246e4c40c160d64
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
module Stripe class ApplicationFee < APIResource include Stripe::APIOperations::List def self.url '/v1/application_fees' end def refund(params={}, opts={}) api_key, headers = Util.parse_opts(opts) response, api_key = Stripe.request(:post, refund_url, api_key || @api_key, params, headers) refresh_from(response, api_key) end private def refund_url url + '/refund' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stripe-1.18.0 | lib/stripe/application_fee.rb |
stripe-1.17.3 | lib/stripe/application_fee.rb |