Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Documentation is showing deprecated examples #1532

Open
nlalonde opened this issue Feb 11, 2025 · 1 comment
Open

API Documentation is showing deprecated examples #1532

nlalonde opened this issue Feb 11, 2025 · 1 comment

Comments

@nlalonde
Copy link

Describe the bug

The documentation is still showing the deprecated API usage. For example, the Customer retrieve example for Ruby shows:

Stripe::Customer.retrieve('cus_NffrFeUfNV2Hib')

https://docs.stripe.com/api/customers/retrieve?lang=ruby&api-version=2025-01-27.acacia

To Reproduce

  1. Visit this URL:

https://docs.stripe.com/api/customers/retrieve?lang=ruby&api-version=2025-01-27.acacia

Expected behavior

I expect to see the current correct use of the Ruby gem:

client.v1.customers.retrieve("cus_123");

Code snippets

OS

macOS

Language version

Ruby 3.3.6

Library version

stripe-ruby 13.4.1

API version

2025-01-27

Additional context

No response

@helenye-stripe
Copy link
Contributor

Hi! Thanks for bringing this up, this is in the works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants