mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-08 00:01:02 -05:00
12 lines
306 B
Ruby
12 lines
306 B
Ruby
module Stripe
|
|
module APIOperations
|
|
module Delete
|
|
def delete(params = {}, opts={})
|
|
api_key, headers = Util.parse_opts(opts)
|
|
response, api_key = Stripe.request(:delete, url, api_key || @api_key, params, headers)
|
|
refresh_from(response, api_key)
|
|
end
|
|
end
|
|
end
|
|
end
|