diff --git a/Makefile b/Makefile index 8849003fc..6ba9138c0 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 diff --git a/lib/stripe/resources/payment_link.rb b/lib/stripe/resources/payment_link.rb index 80b8726da..c4a4b77fb 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 caa84ac0a..75f5804a1 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