stripe 5.39.0 → 5.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1e54cc2d57c31541003984f4cea2ac0e6523a88974bbe060c1332ecc3b2dd13
4
- data.tar.gz: 7834d48a4ec62a379ffba64730d81304f66185ba85d07c53c645a2239f44ac89
3
+ metadata.gz: 434184b41136a52f8565f257cd9cb24dc681f74bf4b5f55cfd6694b50c14f500
4
+ data.tar.gz: 569a1015090c49eb4d66b07c6812a358ff75caefc27b162dce33e6d1fb07db71
5
5
  SHA512:
6
- metadata.gz: 30661886d59dff20441b18404bf2bfc7a9e2371c68ac20bd48700d54c36ca46f29dceb87a22764ead9fb1a128949200edefa37da12fcc81b74d337d799e1cca7
7
- data.tar.gz: fac41913db0bcffa10c386c8ecd5cbeb6a1a542b8c73066a8b75b91f2860524adf202ffdbef92a2fd096566f35595e7633970af261858d10199a839096a0f7ba
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.39.0
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
@@ -1,3 +1,4 @@
1
+ # File generated from our OpenAPI spec
1
2
  # frozen_string_literal: true
2
3
 
3
4
  module Stripe
@@ -1,8 +1,9 @@
1
+ # File generated from our OpenAPI spec
1
2
  # frozen_string_literal: true
2
3
 
3
4
  module Stripe
4
5
  module Issuing
5
- class CardDetails < Stripe::StripeObject
6
+ class CardDetails < StripeObject
6
7
  OBJECT_NAME = "issuing.card_details"
7
8
  end
8
9
  end
@@ -1,3 +1,4 @@
1
+ # File generated from our OpenAPI spec
1
2
  # frozen_string_literal: true
2
3
 
3
4
  module Stripe
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.39.0"
4
+ VERSION = "5.40.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: 5.39.0
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-10-11 00:00:00.000000000 Z
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.