mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-09 00:02:55 -05:00
Update generated code for v896
This commit is contained in:
parent
f825a94c1c
commit
4f0f1ee5f9
@ -1 +1 @@
|
|||||||
v892
|
v896
|
||||||
@ -208,7 +208,7 @@ module Stripe
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Download the PDF for a finalized quote
|
# Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.corp.stripe.com/quotes/overview#quote_pdf)
|
||||||
def pdf(params = {}, opts = {}, &read_body_chunk_block)
|
def pdf(params = {}, opts = {}, &read_body_chunk_block)
|
||||||
config = opts[:client]&.config || Stripe.config
|
config = opts[:client]&.config || Stripe.config
|
||||||
opts = { api_base: config.uploads_base }.merge(opts)
|
opts = { api_base: config.uploads_base }.merge(opts)
|
||||||
@ -221,7 +221,7 @@ module Stripe
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Download the PDF for a finalized quote
|
# Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.corp.stripe.com/quotes/overview#quote_pdf)
|
||||||
def self.pdf(quote, params = {}, opts = {}, &read_body_chunk_block)
|
def self.pdf(quote, params = {}, opts = {}, &read_body_chunk_block)
|
||||||
config = opts[:client]&.config || Stripe.config
|
config = opts[:client]&.config || Stripe.config
|
||||||
opts = { api_base: config.uploads_base }.merge(opts)
|
opts = { api_base: config.uploads_base }.merge(opts)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user