mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-08 00:01:02 -05:00
commit
a580e4f751
@ -3,7 +3,7 @@ module Stripe
|
|||||||
module Delete
|
module Delete
|
||||||
def delete(params = {}, opts={})
|
def delete(params = {}, opts={})
|
||||||
api_key, headers = Util.parse_opts(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)
|
refresh_from(response, api_key)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user