Skip to content

Commit

Permalink
Merge pull request #1449 from stripe/latest-codegen-beta
Browse files Browse the repository at this point in the history
Update generated code for beta
  • Loading branch information
stripe-openapi[bot] authored Sep 18, 2024
2 parents 6a1332d + 910162e commit d28d37f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Build
run: gem build stripe.gemspec
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gems
path: '*.gem'
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: gems
path: gems
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
* Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
* Remove support for `list` method on resource `QuotePhase`

## 12.6.0 - 2024-09-12
* [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
* Add support for new resource `InvoiceRenderingTemplate`
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
* [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override

## 12.6.0-beta.1 - 2024-09-05
* [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
* Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1258
v1267
2 changes: 1 addition & 1 deletion lib/stripe/api_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
module Stripe
module ApiVersion
CURRENT = "2024-06-20"
PREVIEW = "2024-09-05.preview-v2"
PREVIEW = "cs_ubb_launch"
end
end
1 change: 0 additions & 1 deletion lib/stripe/object_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def self.object_names_to_classes
ProductFeature.object_name => ProductFeature,
PromotionCode.object_name => PromotionCode,
Quote.object_name => Quote,
QuotePhase.object_name => QuotePhase,
QuotePreviewInvoice.object_name => QuotePreviewInvoice,
QuotePreviewSubscriptionSchedule.object_name => QuotePreviewSubscriptionSchedule,
Radar::EarlyFraudWarning.object_name => Radar::EarlyFraudWarning,
Expand Down
1 change: 0 additions & 1 deletion lib/stripe/resources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
require "stripe/resources/product_feature"
require "stripe/resources/promotion_code"
require "stripe/resources/quote"
require "stripe/resources/quote_phase"
require "stripe/resources/quote_preview_invoice"
require "stripe/resources/quote_preview_subscription_schedule"
require "stripe/resources/radar/early_fraud_warning"
Expand Down
2 changes: 2 additions & 0 deletions lib/stripe/resources/invoice_rendering_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# frozen_string_literal: true

module Stripe
# Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates
# can be created from within the Dashboard, and they can be used over the API when creating invoices.
class InvoiceRenderingTemplate < APIResource
extend Stripe::APIOperations::List

Expand Down
32 changes: 0 additions & 32 deletions lib/stripe/resources/quote_phase.rb

This file was deleted.

0 comments on commit d28d37f

Please sign in to comment.