stripe 10.6.0.pre.beta.1 → 10.7.0.pre.beta.1

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: 4dd553363be8cc8d8a5f06ff9d6772935def2baa681c7be37e49bf5b4433a10c
4
- data.tar.gz: cb3b1684976ad90db8973c871db910ab7eb22e0a3705893bc4ae62fd19a293c7
3
+ metadata.gz: 89681909c26d30b480313049a710c52f5d19964e18a994700c2db68b866cd391
4
+ data.tar.gz: d198fb8e0380fcf6b0bc860be6048526b81a2a805dbc8bd321abce26359be6ff
5
5
  SHA512:
6
- metadata.gz: 5944cccbb0b5680830e66b306dca977bf4ee0963e85faeae0392df0cd4dfb795942ee1069b1a45c8cb79621d78756975f5c1ed672bd3d1fec6e4e6338a481334
7
- data.tar.gz: c8563e4b7ce2bb6ac372ac50cd3644969f901137ff352538df1abb1b849e402d48873005cbcee6f9cc3c34e6bc19dc8fc9e124c95d837b15cfac5fd80fd725af
6
+ metadata.gz: 29b132e81f67cd9338ded2932c560ae85791fe7df4bc618f270c4b4fb635248123d8e426bc3c7ee00e595836aa5bbc66079a77fbfcd510879b81dbd369491a59
7
+ data.tar.gz: 4bd1cdca7b49dae090a775fb4ebe45a7ac6b4d371a994742b50a1829a02695710ade14afecf6ad1b4a27e9cc9e1abc090262afa1a8628dbdb5d7073f2eef901e
data/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.7.0-beta.1 - 2024-01-12
4
+ * [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
5
+ * [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
6
+
7
+ ## 10.6.0 - 2024-01-12
8
+ * [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
9
+ * Add support for new resource `CustomerSession`
10
+ * Add support for `create` method on resource `CustomerSession`
11
+
3
12
  ## 10.6.0-beta.1 - 2024-01-04
4
13
  * [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
5
14
  * Updated stable APIs to the latest version
6
15
 
7
-
8
16
  ## 10.5.0 - 2024-01-04
9
17
  * [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
10
18
  * Add support for `retrieve` method on resource `Tax.Registration`
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v742
1
+ v756
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.6.0-beta.1
1
+ 10.7.0-beta.1
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # TODO: (major) Deprecated, Remove along with extends
3
4
  module Stripe
4
5
  module APIOperations
5
6
  module Search
@@ -43,7 +43,7 @@ module Stripe
43
43
  end
44
44
 
45
45
  def self.search(params = {}, opts = {})
46
- _search("/v1/charges/search", params, opts)
46
+ request_stripe_object(method: :get, path: "/v1/charges/search", params: params, opts: opts)
47
47
  end
48
48
 
49
49
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -114,7 +114,7 @@ module Stripe
114
114
  end
115
115
 
116
116
  def self.search(params = {}, opts = {})
117
- _search("/v1/customers/search", params, opts)
117
+ request_stripe_object(method: :get, path: "/v1/customers/search", params: params, opts: opts)
118
118
  end
119
119
 
120
120
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -206,7 +206,7 @@ module Stripe
206
206
  end
207
207
 
208
208
  def self.search(params = {}, opts = {})
209
- _search("/v1/invoices/search", params, opts)
209
+ request_stripe_object(method: :get, path: "/v1/invoices/search", params: params, opts: opts)
210
210
  end
211
211
 
212
212
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -248,7 +248,12 @@ module Stripe
248
248
  end
249
249
 
250
250
  def self.search(params = {}, opts = {})
251
- _search("/v1/payment_intents/search", params, opts)
251
+ request_stripe_object(
252
+ method: :get,
253
+ path: "/v1/payment_intents/search",
254
+ params: params,
255
+ opts: opts
256
+ )
252
257
  end
253
258
 
254
259
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -17,7 +17,7 @@ module Stripe
17
17
  OBJECT_NAME = "price"
18
18
 
19
19
  def self.search(params = {}, opts = {})
20
- _search("/v1/prices/search", params, opts)
20
+ request_stripe_object(method: :get, path: "/v1/prices/search", params: params, opts: opts)
21
21
  end
22
22
 
23
23
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -20,7 +20,7 @@ module Stripe
20
20
  OBJECT_NAME = "product"
21
21
 
22
22
  def self.search(params = {}, opts = {})
23
- _search("/v1/products/search", params, opts)
23
+ request_stripe_object(method: :get, path: "/v1/products/search", params: params, opts: opts)
24
24
  end
25
25
 
26
26
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -84,7 +84,12 @@ module Stripe
84
84
  save_nested_resource :source
85
85
 
86
86
  def self.search(params = {}, opts = {})
87
- _search("/v1/subscriptions/search", params, opts)
87
+ request_stripe_object(
88
+ method: :get,
89
+ path: "/v1/subscriptions/search",
90
+ params: params,
91
+ opts: opts
92
+ )
88
93
  end
89
94
 
90
95
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "10.6.0-beta.1"
4
+ VERSION = "10.7.0-beta.1"
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: 10.6.0.pre.beta.1
4
+ version: 10.7.0.pre.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-12 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.