mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-30 00:00:47 -04:00
As discussed in #325, this deprecates the public visibility of `#refresh_from` (by renaming it). It also adds some deprecation infrastructure to produce warnings when it's used.
12 lines
262 B
Ruby
12 lines
262 B
Ruby
module Stripe
|
|
module APIOperations
|
|
module Delete
|
|
def delete(params={}, opts={})
|
|
opts = Util.normalize_opts(opts)
|
|
response, opts = request(:delete, url, params, opts)
|
|
initialize_from(response, opts)
|
|
end
|
|
end
|
|
end
|
|
end
|