stripe 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a0119245798da8cac7237cbed7a7c09633ba072b170afc497403fafa31f78ed
4
- data.tar.gz: a0f4f05a488055d587e40b46ffab95076ad31fe61d2f647595a96a305f17a06a
3
+ metadata.gz: f2df89dabe27f57ff54645723cad1cc28531ebf032937475be2ca95fac655c60
4
+ data.tar.gz: 54913826d87f972d8063ff116975144b4c02605d71cc898a8bb8fbafb5fd4b3a
5
5
  SHA512:
6
- metadata.gz: 728ba1fb75583945b56486273261846fa9ec55e98066e6a1361a81ac98ab91a35378e7851ba5f441ef9b0e896e21c40587b668a8c988eacdd0cf63fd00570ed0
7
- data.tar.gz: f8a4c1336a7819186d4e0781bb50e3eba2e367b00fc9e88a8005df6ddd6cbb319ef5ab79941f25552a49654fc3270030bd38971f099461f3031ef67bc1c2f7cc
6
+ metadata.gz: 18ded6bd3ed615765e5ea91d1b89081ed97be2ddeb17eadb870f9bbfa7f4c2f2b73432870360f05fb7728d16969da0603fcf2999f0b7364f03e616445cc58aa0
7
+ data.tar.gz: 41187f95412cec224776e5ab72c685383e6a4e14ff33ddca645f51a1fc11abf060de7499d3d64454efb12cb7436e7fae36c2d611a65c1e43b1ed6a190dd82ff4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
  # Changelog
2
+ ## 11.1.0 - 2024-04-16
3
+ * [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
4
+ * Add support for new resource `Entitlements.ActiveEntitlementSummary`
5
+ * [#1382](https://github.com/stripe/stripe-ruby/pull/1382) Revert Makefile change to allow autoformatting in codegen
6
+ * [#1380](https://github.com/stripe/stripe-ruby/pull/1380) Rename section for object types
7
+
2
8
  ## 11.0.0 - 2024-04-10
3
9
  * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
4
10
 
data/Makefile CHANGED
@@ -5,7 +5,7 @@ update-version:
5
5
 
6
6
  codegen-format:
7
7
  bundle install --quiet
8
- bundle exec rubocop --autocorrect
8
+ bundle exec rubocop -o /dev/null --autocorrect
9
9
 
10
10
  ci-test:
11
11
  bundle install && bundle exec rake test
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v938
1
+ v961
data/VERSION CHANGED
@@ -1 +1 @@
1
- 11.0.0
1
+ 11.1.0
@@ -12,7 +12,7 @@ module Stripe
12
12
  SearchResultObject.object_name => SearchResultObject,
13
13
  File.object_name_alt => File,
14
14
 
15
- # The beginning of the section generated from our OpenAPI spec
15
+ # object classes: The beginning of the section generated from our OpenAPI spec
16
16
  Account.object_name => Account,
17
17
  AccountLink.object_name => AccountLink,
18
18
  AccountSession.object_name => AccountSession,
@@ -139,7 +139,7 @@ module Stripe
139
139
  UsageRecord.object_name => UsageRecord,
140
140
  UsageRecordSummary.object_name => UsageRecordSummary,
141
141
  WebhookEndpoint.object_name => WebhookEndpoint,
142
- # The end of the section generated from our OpenAPI spec
142
+ # object classes: The end of the section generated from our OpenAPI spec
143
143
  }
144
144
  end
145
145
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Stripe
5
5
  module Billing
6
- # A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then use the billing meter to charge the user for the number of API calls they make.
6
+ # A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make.
7
7
  class Meter < APIResource
8
8
  extend Stripe::APIOperations::Create
9
9
  extend Stripe::APIOperations::List
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Stripe
5
5
  module Billing
6
- # A billing meter event adjustment represents the status of a meter event adjustment.
6
+ # A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer.
7
7
  class MeterEventAdjustment < APIResource
8
8
  extend Stripe::APIOperations::Create
9
9
 
@@ -3,9 +3,9 @@
3
3
 
4
4
  module Stripe
5
5
  module Forwarding
6
- # Instructs Stripe to make a request on your behalf using the destination URL and HTTP method in the config.
7
- # A config is set up for each destination URL by Stripe at the time of onboarding. Stripe verifies requests with
8
- # your credentials in the config, and injects card details from the payment_method into the request.
6
+ # Instructs Stripe to make a request on your behalf using the destination URL. The destination URL
7
+ # is activated by Stripe at the time of onboarding. Stripe verifies requests with your credentials
8
+ # provided during onboarding, and injects card details from the payment_method into the request.
9
9
  #
10
10
  # Stripe redacts all sensitive fields and headers, including authentication credentials and card numbers,
11
11
  # before storing the request and response data in the forwarding Request object, which are subject to a
@@ -14,7 +14,7 @@ module Stripe
14
14
  # transfer only if the destination account has enough balance to cover the
15
15
  # reversal.
16
16
  #
17
- # Related guide: [Reversing transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reversing-transfers)
17
+ # Related guide: [Reverse transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reverse-transfers)
18
18
  class Reversal < APIResource
19
19
  include Stripe::APIOperations::Save
20
20
 
@@ -8,13 +8,13 @@ module Stripe
8
8
  #
9
9
  # Create a SetupIntent when you're ready to collect your customer's payment credentials.
10
10
  # Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
11
- # The SetupIntent transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides
11
+ # The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
12
12
  # you through the setup process.
13
13
  #
14
14
  # Successful SetupIntents result in payment credentials that are optimized for future payments.
15
15
  # For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
16
- # [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) during payment method collection
17
- # to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents).
16
+ # [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
17
+ # to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
18
18
  # If you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),
19
19
  # it automatically attaches the resulting payment method to that Customer after successful setup.
20
20
  # We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on
@@ -22,7 +22,7 @@ module Stripe
22
22
  #
23
23
  # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
24
24
  #
25
- # Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents)
25
+ # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
26
26
  class SetupIntent < APIResource
27
27
  extend Stripe::APIOperations::Create
28
28
  extend Stripe::APIOperations::List
@@ -6,6 +6,8 @@ module Stripe
6
6
  # metered billing of subscription prices.
7
7
  #
8
8
  # Related guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing)
9
+ #
10
+ # This is our legacy usage-based billing API. See the [updated usage-based billing docs](https://docs.stripe.com/billing/subscriptions/usage-based).
9
11
  class UsageRecord < APIResource
10
12
  OBJECT_NAME = "usage_record"
11
13
  def self.object_name
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "11.0.0"
4
+ VERSION = "11.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0
4
+ version: 11.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-10 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.