stripe 5.39.0 → 5.40.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/stripe/resources/checkout/session.rb +11 -0
- data/lib/stripe/resources/discount.rb +1 -0
- data/lib/stripe/resources/issuing/card_details.rb +2 -1
- data/lib/stripe/resources/source_transaction.rb +1 -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: 434184b41136a52f8565f257cd9cb24dc681f74bf4b5f55cfd6694b50c14f500
|
|
4
|
+
data.tar.gz: 569a1015090c49eb4d66b07c6812a358ff75caefc27b162dce33e6d1fb07db71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 034b8b4c413a525cf3d000b2e53899368d471860ccc3e5d688760618ac0584f9ce3a698718403578077dcb875ba51299a2eca26b1240270685ac9589fc2a43b2
|
|
7
|
+
data.tar.gz: 1d361ed96f410d46badcdb68f369ac2b8df6acdf8669779436b5d6071d0ba079a89e1170250f6b531847bdf044b40aaa4ccc318f01cfcae3ecf94db79d3bfb46
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.40.0 - 2021-11-11
|
|
4
|
+
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
|
5
|
+
* Add support for `expire` method on resource `Checkout.Session`
|
|
6
|
+
* [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
|
7
|
+
* [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
|
8
|
+
* [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
|
9
|
+
|
|
3
10
|
## 5.39.0 - 2021-10-11
|
|
4
11
|
* [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
|
5
12
|
* Add support for `list_payment_methods` method on resource `Customer`
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.40.0
|
|
@@ -10,7 +10,18 @@ module Stripe
|
|
|
10
10
|
|
|
11
11
|
OBJECT_NAME = "checkout.session"
|
|
12
12
|
|
|
13
|
+
custom_method :expire, http_verb: :post
|
|
14
|
+
|
|
13
15
|
nested_resource_class_methods :line_item, operations: %i[list]
|
|
16
|
+
|
|
17
|
+
def expire(params = {}, opts = {})
|
|
18
|
+
request_stripe_object(
|
|
19
|
+
method: :post,
|
|
20
|
+
path: resource_url + "/expire",
|
|
21
|
+
params: params,
|
|
22
|
+
opts: opts
|
|
23
|
+
)
|
|
24
|
+
end
|
|
14
25
|
end
|
|
15
26
|
end
|
|
16
27
|
end
|
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: 5.
|
|
4
|
+
version: 5.40.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-11 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.
|