stripe / stripe-ruby

Ruby library for the Stripe API.
https://stripe.com
MIT License
1.96k stars 548 forks source link

Remove deprecated methods and update raw_request README #1455

Closed helenye-stripe closed 1 month ago

helenye-stripe commented 1 month ago

Why?

These methods were deprecated years ago, and still remained in the API. We'd like to discourage their use as alternatives exist and we are changing requestor patterns.

Also updates the README for correct raw_request snippets.

Changelog

do

client = Stripe::StripeClient.new(...) resp = client.raw_request(:get, "/v1/endpoint", params: params, opts: opts)


* ⚠️ Remove `StripeClient.connection_manager` (now `APIRequestor.connection_manager`). This was a legacy method from years ago.