mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-11 00:01:46 -04:00
Update generated code for v277 (#1198)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
parent
57f61c09ce
commit
e1080cdd1e
@ -1 +1 @@
|
|||||||
v276
|
v277
|
@ -2020,6 +2020,20 @@ module Stripe
|
|||||||
assert_requested :post, "#{Stripe.api_base}/v1/subscription_schedules/sub_sched_xxxxxxxxxxxxx"
|
assert_requested :post, "#{Stripe.api_base}/v1/subscription_schedules/sub_sched_xxxxxxxxxxxxx"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
context "Tax.Calculation.list_line_items" do
|
||||||
|
should "support requests with args: calculation" do
|
||||||
|
Stripe::Tax::Calculation.list_line_items("xxx")
|
||||||
|
assert_requested :get, "#{Stripe.api_base}/v1/tax/calculations/xxx/line_items?"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
context "Tax.Transaction.create_from_calculation" do
|
||||||
|
should "support requests with args: calculation, reference" do
|
||||||
|
Stripe::Tax::Transaction.create_from_calculation(
|
||||||
|
{ calculation: "xxx", reference: "yyy" }
|
||||||
|
)
|
||||||
|
assert_requested :post, "#{Stripe.api_base}/v1/tax/transactions/create_from_calculation"
|
||||||
|
end
|
||||||
|
end
|
||||||
context "TaxCode.list" do
|
context "TaxCode.list" do
|
||||||
should "support requests with args: limit" do
|
should "support requests with args: limit" do
|
||||||
Stripe::TaxCode.list({ limit: 3 })
|
Stripe::TaxCode.list({ limit: 3 })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user