mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-04 00:01:22 -05:00
Update generated code for v309 (#1215)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
parent
f36db9462a
commit
0890e1fb0f
@ -1 +1 @@
|
||||
v296
|
||||
v309
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user