mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-30 00:00:47 -04:00
Pass along API key
This commit is contained in:
parent
8be1ad0e48
commit
43d591a93e
@ -3,7 +3,7 @@ module Stripe
|
||||
module Delete
|
||||
def delete(params = {}, opts={})
|
||||
api_key, headers = Util.parse_opts(opts)
|
||||
response, api_key = Stripe.request(:delete, url, api_key, params, headers)
|
||||
response, api_key = Stripe.request(:delete, url, api_key || @api_key, params, headers)
|
||||
refresh_from(response, api_key)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user