lib/stripe/resources/topup.rb in stripe-4.21.1 vs lib/stripe/resources/topup.rb in stripe-4.21.2
- old
+ new
@@ -10,9 +10,9 @@
custom_method :cancel, http_verb: :post
def cancel(params = {}, opts = {})
resp, opts = request(:post, resource_url + "/cancel", params, opts)
- Util.convert_to_stripe_object(resp.data, opts)
+ initialize_from(resp.data, opts)
end
end
end