Compare commits

..

2 Commits

Author SHA1 Message Date
Stripe OpenAPI
2f44078b6e Update generated code for v309 2023-04-24 16:59:36 +00:00
stripe-openapi[bot]
d9118a7dfe
Update generated code for v305 (#1214)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-04-20 11:02:17 -07:00
2 changed files with 12 additions and 1 deletions

View File

@ -1 +1 @@
v305
v309

View File

@ -1365,6 +1365,17 @@ module Stripe
)
assert_requested :post, "#{Stripe.api_base}/v1/plans"
end
should "support requests with args: amount, currency, interval, product2" do
Stripe::Plan.create(
{
amount: 2000,
currency: "usd",
interval: "month",
product: { name: "My product" },
}
)
assert_requested :post, "#{Stripe.api_base}/v1/plans"
end
end
context "Plan.delete" do
should "support requests with args: id" do