mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-31 00:02:51 -05:00
Merge pull request #1249 from stripe/latest-codegen-beta
Update generated code for beta
This commit is contained in:
commit
5609c6ce72
@ -1 +1 @@
|
||||
v425
|
||||
v426
|
||||
@ -5,7 +5,7 @@ module Stripe
|
||||
# This is an object representing a person associated with a Stripe account.
|
||||
#
|
||||
# A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account.
|
||||
# See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps.
|
||||
# See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform prefilling and account onboarding steps.
|
||||
#
|
||||
# Related guide: [Handling identity verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information)
|
||||
class Person < APIResource
|
||||
|
||||
@ -1695,6 +1695,13 @@ module Stripe
|
||||
assert_requested :get, "#{Stripe.api_base}/v1/quotes/qt_xxxxxxxxxxxxx/line_items?"
|
||||
end
|
||||
end
|
||||
context "Quote.pdf" do
|
||||
should "support requests with args: id" do
|
||||
block_handler = {}
|
||||
Stripe::Quote.pdf("qt_xxxxxxxxxxxxx", &block_handler)
|
||||
assert_requested :get, "#{Stripe.api_base}/v1/quotes/qt_xxxxxxxxxxxxx/pdf?"
|
||||
end
|
||||
end
|
||||
context "Quote.preview_invoice_lines" do
|
||||
should "support requests with args: quote, preview_invoice" do
|
||||
Stripe::Quote.preview_invoice_lines("qt_xyz", "in_xyz")
|
||||
|
||||
@ -65,6 +65,7 @@ module Test
|
||||
setup do
|
||||
Stripe.api_key = "sk_test_123"
|
||||
Stripe.api_base = "http://localhost:#{MOCK_PORT}"
|
||||
Stripe.uploads_base = "http://localhost:#{MOCK_PORT}"
|
||||
|
||||
Stripe.authenticator = nil
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user