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

Add support for the Payout Reverse API #951

Merged
merged 2 commits into from Oct 14, 2020
Merged

Conversation

remi-stripe
Copy link
Contributor

Codegen for openapi 4bd4c01

r? @richardm-stripe
cc @stripe/api-libraries

@@ -57,7 +57,7 @@ class CustomerTest < Test::Unit::TestCase
should "delete a discount" do
customer = Stripe::Customer.retrieve("cus_123")
customer = customer.delete_discount
assert_requested :delete, "#{Stripe.api_base}/v1/customers/#{customer.id}/discount"
assert_requested :delete, "#{Stripe.api_base}/v1/customers/cus_123/discount"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to change this test because stripe-ruby mutates the customer in place and changes its id as stripe-mock doesn't know this is an endpoint with the customer id in it

@remi-stripe remi-stripe merged commit db24334 into master Oct 14, 2020
@remi-stripe remi-stripe deleted the remi/codegen-4bd4c01 branch October 14, 2020 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants