mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-07 00:00:35 -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"
|
assert_requested :post, "#{Stripe.api_base}/v1/plans"
|
||||||
end
|
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
|
end
|
||||||
context "Plan.delete" do
|
context "Plan.delete" do
|
||||||
should "support requests with args: id" do
|
should "support requests with args: id" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user