stripe 8.1.0.pre.beta.3 → 8.1.0.pre.beta.4

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: 6dbe161b2c79540bf0c14cccaccd03bded2bb67d98b45321d9f24ebd41b24313
4
- data.tar.gz: aee65c5876d3aa9412a05fc3b19282cd3cc2b06e806c139009164ee0544bf99c
3
+ metadata.gz: 9f3aaefa63af0a824e48de98bd70480843c2567ec4f928226332edc0f23e0d0a
4
+ data.tar.gz: 16f667361a1b30a975fb513eaef27bf7929db7793b48ab2594fa25cb1b71e7b5
5
5
  SHA512:
6
- metadata.gz: 58f3a41f66ce6dc02711eb56329f9bc876a7a66c66645565a2068bb76814f918acd724fa2334c6d050d381a3cd4acb28055216c9197ae4213454b8761f86681d
7
- data.tar.gz: f06c362d0af1ae83b913d1a6fb282b7a338f3d93f1cddefa6a35f8c67865ece3cee0da3bf8f9c4df15c44d486531c4634f65ed7ce8a1fc39b0892548646d94a1
6
+ metadata.gz: '0294d06cac175e6a48a06bf5b689fbaf4492ecd8b77064d9d53b3a4760dee1b8d8da23964215a9941deff6d3ac93699887847a35a4483d7abcd78434ec9ac705'
7
+ data.tar.gz: 8d1279f7662f535097bc41917e73a3c601604e41b52ce3872c5bddd9f98de60e33873bfd17ab8b4c969414c95bdb0e238b4c41f26881f4f38c7ed7d12e30b190
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.1.0-beta.4 - 2023-01-05
4
+ * [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
5
+ * Updated stable APIs to the latest version
6
+ * Add support for `mark_stale_quote` method on resource `Quote`
7
+
3
8
  ## 8.1.0-beta.3 - 2022-12-22
4
9
  * [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
5
10
  * Updated stable APIs to the latest version
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v216
1
+ v217
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.1.0-beta.3
1
+ 8.1.0-beta.4
@@ -64,7 +64,6 @@ module Stripe
64
64
 
65
65
  nested_resource_class_methods :external_account,
66
66
  operations: %i[create retrieve update delete list]
67
-
68
67
  nested_resource_class_methods :login_link, operations: %i[create]
69
68
 
70
69
  def resource_url
@@ -74,6 +74,15 @@ module Stripe
74
74
  )
75
75
  end
76
76
 
77
+ def mark_stale_quote(params = {}, opts = {})
78
+ request_stripe_object(
79
+ method: :post,
80
+ path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(self["id"]) }),
81
+ params: params,
82
+ opts: opts
83
+ )
84
+ end
85
+
77
86
  def preview_invoice_lines(params = {}, opts = {})
78
87
  request_stripe_object(
79
88
  method: :get,
@@ -173,6 +182,15 @@ module Stripe
173
182
  )
174
183
  end
175
184
 
185
+ def self.mark_stale_quote(quote, params = {}, opts = {})
186
+ request_stripe_object(
187
+ method: :post,
188
+ path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(quote) }),
189
+ params: params,
190
+ opts: opts
191
+ )
192
+ end
193
+
176
194
  def self.preview_invoice_lines(quote, params = {}, opts = {})
177
195
  request_stripe_object(
178
196
  method: :get,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "8.1.0-beta.3"
4
+ VERSION = "8.1.0-beta.4"
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: 8.1.0.pre.beta.3
4
+ version: 8.1.0.pre.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2023-01-05 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.