Skip to content

Commit

Permalink
Update generated code for v896
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Mar 21, 2024
1 parent b68c07e commit 5f9e9ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v889
v896
4 changes: 2 additions & 2 deletions lib/stripe/resources/quote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def self.list_line_items(quote, params = {}, opts = {})
)
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)
config = opts[:client]&.config || Stripe.config
opts = { api_base: config.uploads_base }.merge(opts)
Expand All @@ -137,7 +137,7 @@ def pdf(params = {}, opts = {}, &read_body_chunk_block)
)
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)
config = opts[:client]&.config || Stripe.config
opts = { api_base: config.uploads_base }.merge(opts)
Expand Down

0 comments on commit 5f9e9ab

Please sign in to comment.