lib/stripe/transfer.rb in stripe-1.40.0 vs lib/stripe/transfer.rb in stripe-1.41.0

- old
+ new

@@ -3,10 +3,10 @@ extend Stripe::APIOperations::List extend Stripe::APIOperations::Create include Stripe::APIOperations::Update def cancel - response, api_key = Stripe.request(:post, cancel_url, @api_key) + response, api_key = self.request(:post, cancel_url) initialize_from(response, api_key) end def cancel_url resource_url + '/cancel'