Add ability to specify custom headers for application_fee.refund

This commit is contained in:
Shale Craig 2014-12-16 15:44:57 -08:00
parent 4bef41192a
commit fd104697f3

View File

@ -6,8 +6,8 @@ module Stripe
'/v1/application_fees'
end
def refund(params={}, api_key=nil)
response, api_key = Stripe.request(:post, refund_url, api_key, params)
def refund(params={}, api_key=nil, headers={})
response, api_key = Stripe.request(:post, refund_url, api_key, params, headers)
refresh_from(response, api_key)
end