Skip to content

Commit

Permalink
Update generated code for v557
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 27, 2023
1 parent 9f77cb9 commit 176f13b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v551
v557
6 changes: 6 additions & 0 deletions test/stripe/generated_examples_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,12 @@ class CodegennedExampleTest < Test::Unit::TestCase
assert_requested :post, "#{Stripe.api_base}/v1/subscriptions"
end
end
context "Subscription.delete_discount" do
should "support requests with args: subscription_exposed_id" do
Stripe::Subscription.delete_discount("sub_xyz")
assert_requested :delete, "#{Stripe.api_base}/v1/subscriptions/sub_xyz/discount?"
end
end
context "Subscription.list" do
should "support requests with args: limit" do
Stripe::Subscription.list({ limit: 3 })
Expand Down

0 comments on commit 176f13b

Please sign in to comment.