mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
Update README to use add_beta_version (#1345)
This commit is contained in:
parent
303d7c3256
commit
6458ba68f4
@ -23,7 +23,6 @@ See the [Ruby API docs](https://stripe.com/docs/api?lang=ruby).
|
||||
|
||||
See [video demonstrations][youtube-playlist] covering how to use the library.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
You don't need this source code unless you want to modify the gem. If you just
|
||||
@ -336,10 +335,10 @@ gem install stripe -v 7.1.0.pre.beta.2
|
||||
|
||||
We highly recommend keeping an eye on when the beta feature you are interested in goes from beta to stable so that you can move from using a beta version of the SDK to the stable version.
|
||||
|
||||
If your beta feature requires a `Stripe-Version` header to be sent, use the `Stripe.api_version` field to set it:
|
||||
If your beta feature requires a `Stripe-Version` header to be sent, set the `Stripe.api_version` field using `Stripe.add_beta_version`:
|
||||
|
||||
```python
|
||||
Stripe.api_version += "; feature_beta=v3"
|
||||
Stripe.add_beta_version("feature_beta", "v3")
|
||||
```
|
||||
|
||||
## Support
|
||||
|
Loading…
x
Reference in New Issue
Block a user