lib/stripe/resources/source.rb in stripe-5.23.0 vs lib/stripe/resources/source.rb in stripe-5.23.1

- old
+ new

@@ -30,16 +30,16 @@ "to a customer object." end url = "#{Customer.resource_url}/#{CGI.escape(customer)}/sources" \ "/#{CGI.escape(id)}" - resp, opts = request(:delete, url, params, opts) + resp, opts = execute_resource_request(:delete, url, params, opts) initialize_from(resp.data, opts) end def source_transactions(params = {}, opts = {}) - resp, opts = request(:get, resource_url + "/source_transactions", params, - opts) + resp, opts = execute_resource_request(:get, resource_url + "/source_transactions", params, + opts) Util.convert_to_stripe_object(resp.data, opts) end extend Gem::Deprecate deprecate :source_transactions, :"Source.list_source_transactions", 2020, 1 end