stripe 8.7.0.pre.beta.2 → 8.7.0.pre.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/issuing/card.rb +18 -0
- data/lib/stripe/stripe_client.rb +1 -1
- 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: 58cf6a053cd2c06123c49e3e3a0821cc69c639c7c5d286c0e5e3c020be2b8739
|
4
|
+
data.tar.gz: fadd0f3f33477c8ee167eb4ed141573730a82b74d89b4b26c7e8540a576013c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c121e9dcb1aba1c902e5f5810a8f84c00fa632c86832cf3e6fa4640177114044df580d37c9f0184af31a26335c0daddbd91c98f5c7553780755f400fd6303608
|
7
|
+
data.tar.gz: 6bda9c1bc6b38a47f1d99736bd5e938f46627e4874ec343004d73b3b5abdf8f9097fc293fd45002ac7183e4360ee114fb482e8392c3219da98cfe29b184e2cca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 8.7.0-beta.3 - 2023-08-03
|
4
|
+
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
5
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
6
|
+
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
7
|
+
|
3
8
|
## 8.7.0-beta.2 - 2023-07-28
|
4
9
|
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
5
10
|
* Add support for new resource `Tax.Form`
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v442
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
8.7.0-beta.
|
1
|
+
8.7.0-beta.3
|
@@ -54,6 +54,15 @@ module Stripe
|
|
54
54
|
)
|
55
55
|
end
|
56
56
|
|
57
|
+
def self.submit_card(card, params = {}, opts = {})
|
58
|
+
request_stripe_object(
|
59
|
+
method: :post,
|
60
|
+
path: format("/v1/test_helpers/issuing/cards/%<card>s/shipping/submit", { card: CGI.escape(card) }),
|
61
|
+
params: params,
|
62
|
+
opts: opts
|
63
|
+
)
|
64
|
+
end
|
65
|
+
|
57
66
|
def deliver_card(params = {}, opts = {})
|
58
67
|
@resource.request_stripe_object(
|
59
68
|
method: :post,
|
@@ -89,6 +98,15 @@ module Stripe
|
|
89
98
|
opts: opts
|
90
99
|
)
|
91
100
|
end
|
101
|
+
|
102
|
+
def submit_card(params = {}, opts = {})
|
103
|
+
@resource.request_stripe_object(
|
104
|
+
method: :post,
|
105
|
+
path: format("/v1/test_helpers/issuing/cards/%<card>s/shipping/submit", { card: CGI.escape(@resource["id"]) }),
|
106
|
+
params: params,
|
107
|
+
opts: opts
|
108
|
+
)
|
109
|
+
end
|
92
110
|
end
|
93
111
|
end
|
94
112
|
end
|
data/lib/stripe/stripe_client.rb
CHANGED
@@ -768,7 +768,7 @@ module Stripe
|
|
768
768
|
end
|
769
769
|
|
770
770
|
private def specific_api_error(resp, error_data, context)
|
771
|
-
message = error_data[:message]
|
771
|
+
message = error_data[:message]
|
772
772
|
Util.log_error("Stripe API error",
|
773
773
|
status: resp.http_status,
|
774
774
|
error_code: error_data[:code],
|
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: 8.7.0.pre.beta.
|
4
|
+
version: 8.7.0.pre.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-03 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.
|