stripe 7.2.0.pre.beta.4 → 7.2.0.pre.beta.5
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +5 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account_session.rb +2 -2
- data/lib/stripe/resources/refund.rb +4 -0
- data/lib/stripe/resources/source.rb +4 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90a9a38af2438b7096201abb95f442a55f7ee0f6457f5f0857e431b96cda2479
|
|
4
|
+
data.tar.gz: 83cff37747a7e7de622b94388a5678440ebb6c749b89b04834b913e9adc5fe7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eba51a2bc119fe1bfa4f80d3d2891c56eba29bb88300fa6a5c817556272588c8f97328e15ce6fd4ac1fdd40756bbc618c457979de178e63bdaeb5f06645fc32a
|
|
7
|
+
data.tar.gz: 107e710bd5018c51f2c53c14c4cc36b13f50b0b9d639524259503e2970a297fb49d37d185fdf866012fbba7c469393a1279f6a281b30d54bac6c2d0ab93c8b02
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.2.0-beta.5 - 2022-11-02
|
|
4
|
+
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
|
5
|
+
* Updated beta APIs to the latest stable version
|
|
6
|
+
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
|
7
|
+
* Updated stable APIs to the latest version
|
|
8
|
+
|
|
3
9
|
## 7.2.0-beta.4 - 2022-10-07
|
|
4
10
|
* [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
|
5
11
|
|
data/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v205
|
data/README.md
CHANGED
|
@@ -261,9 +261,13 @@ For example:
|
|
|
261
261
|
|
|
262
262
|
```ruby
|
|
263
263
|
Stripe::Instrumentation.subscribe(:request_end) do |request_event|
|
|
264
|
+
# Filter out high-cardinality ids from `path`
|
|
265
|
+
path_parts = event.path.split("/").drop(2)
|
|
266
|
+
resource = path_parts.map { |part| part.match?(/\A[a-z_]+\z/) ? part : ":id" }.join("/")
|
|
267
|
+
|
|
264
268
|
tags = {
|
|
265
269
|
method: request_event.method,
|
|
266
|
-
resource:
|
|
270
|
+
resource: resource,
|
|
267
271
|
code: request_event.http_status,
|
|
268
272
|
retries: request_event.num_retries
|
|
269
273
|
}
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.2.0-beta.
|
|
1
|
+
7.2.0-beta.5
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
-
# An AccountSession allows a Connect platform to grant access to a connected account in Connect
|
|
5
|
+
# An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded UIs.
|
|
6
6
|
#
|
|
7
7
|
# We recommend that you create an AccountSession each time you need to display an embedded UI
|
|
8
8
|
# to your user. Do not save AccountSessions to your database as they expire relatively
|
|
9
9
|
# quickly, and cannot be used more than once.
|
|
10
10
|
#
|
|
11
|
-
# Related guide: [Connect
|
|
11
|
+
# Related guide: [Connect embedded UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis).
|
|
12
12
|
class AccountSession < APIResource
|
|
13
13
|
extend Stripe::APIOperations::Create
|
|
14
14
|
|
|
@@ -6,6 +6,10 @@ module Stripe
|
|
|
6
6
|
# but not yet refunded. Funds will be refunded to the credit or debit card that
|
|
7
7
|
# was originally charged.
|
|
8
8
|
#
|
|
9
|
+
# Stripe Tax users with recurring payments and invoices can create [Credit Notes](https://stripe.com/docs/api/credit_notes),
|
|
10
|
+
# which reduce overall tax liability because tax is correctly recalculated and
|
|
11
|
+
# apportioned to the related invoice.
|
|
12
|
+
#
|
|
9
13
|
# Related guide: [Refunds](https://stripe.com/docs/refunds).
|
|
10
14
|
class Refund < APIResource
|
|
11
15
|
extend Stripe::APIOperations::Create
|
|
@@ -7,6 +7,10 @@ module Stripe
|
|
|
7
7
|
# just like a `Card` object: once chargeable, they can be charged, or can be
|
|
8
8
|
# attached to customers.
|
|
9
9
|
#
|
|
10
|
+
# Stripe doesn't recommend using the deprecated [Sources API](https://stripe.com/docs/api/sources).
|
|
11
|
+
# We recommend that you adopt the [PaymentMethods API](https://stripe.com/docs/api/payment_methods).
|
|
12
|
+
# This newer API provides access to our latest features and payment method types.
|
|
13
|
+
#
|
|
10
14
|
# Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).
|
|
11
15
|
class Source < APIResource
|
|
12
16
|
extend Stripe::APIOperations::Create
|
data/lib/stripe/version.rb
CHANGED
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: 7.2.0.pre.beta.
|
|
4
|
+
version: 7.2.0.pre.beta.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-11-02 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.
|