From 414ca367af73405bc3ea0263ff6c1afbb940f7b4 Mon Sep 17 00:00:00 2001 From: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com> Date: Wed, 15 Mar 2023 08:31:08 -0700 Subject: [PATCH 1/2] Run bundle install before formatting code (#1185) * Run bundle install before formatting code * qq --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 8849003f..6ba9138c 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,5 @@ update-version: @perl -pi -e 's|VERSION = "[.\-\w\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb codegen-format: + bundle install --quiet bundle exec rubocop -o /dev/null --auto-correct From 5e3d38b675c7ed7a2339eed53a2da2a5704976a1 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 15 Mar 2023 15:38:11 +0000 Subject: [PATCH 2/2] Update generated code for v258 (#1186) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- lib/stripe/resources/payment_link.rb | 2 +- lib/stripe/resources/product.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stripe/resources/payment_link.rb b/lib/stripe/resources/payment_link.rb index 80b8726d..c4a4b77f 100644 --- a/lib/stripe/resources/payment_link.rb +++ b/lib/stripe/resources/payment_link.rb @@ -6,7 +6,7 @@ module Stripe # # When a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links. # - # Related guide: [Payment Links API](https://stripe.com/docs/payments/payment-links/api) + # Related guide: [Payment Links API](https://stripe.com/docs/payment-links) class PaymentLink < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/product.rb b/lib/stripe/resources/product.rb index caa84ac0..75f5804a 100644 --- a/lib/stripe/resources/product.rb +++ b/lib/stripe/resources/product.rb @@ -7,7 +7,7 @@ module Stripe # They can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), - # [share a Payment Link](https://stripe.com/docs/payments/payment-links/overview), + # [share a Payment Link](https://stripe.com/docs/payment-links), # [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront), # and more about [Products and Prices](https://stripe.com/docs/products-prices/overview) class Product < APIResource