Skip to content

API Documentation is showing deprecated examples #1532

Open
@nlalonde

Description

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

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions