mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-06 00:02:18 -04:00
Codegen for openapi v232
This commit is contained in:
parent
57a2806c18
commit
e2e4b77a87
@ -1 +1 @@
|
||||
v226
|
||||
v232
|
@ -826,6 +826,10 @@ module Stripe
|
||||
Stripe::Invoice.retrieve("in_xxxxxxxxxxxxx")
|
||||
assert_requested :get, "#{Stripe.api_base}/v1/invoices/in_xxxxxxxxxxxxx?"
|
||||
end
|
||||
should "support requests with args: id, expand" do
|
||||
Stripe::Invoice.retrieve({ expand: ["customer"], id: "in_xxxxxxxxxxxxx" })
|
||||
assert_requested :get, "#{Stripe.api_base}/v1/invoices/in_xxxxxxxxxxxxx?expand[0]=customer"
|
||||
end
|
||||
end
|
||||
context "Invoice.search" do
|
||||
should "support requests with args: query" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user