stripe 7.1.0.pre.beta.1 → 7.1.0.pre.beta.2
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/api_version.rb +3 -1
- data/lib/stripe/resources/terminal/reader.rb +18 -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: e2e7b040047cac21858806b95ee7acbe05671f7e362fb251028c688214ca7f91
|
4
|
+
data.tar.gz: 9c33b413e3bb963a64d6ed7845f310f3a71b0e4b4cf23774d7b44004209cb6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7df8eded9e11c521b40aa83ac3808c2bbf6a019c7a94f164df095f0c1b17d9457616f3936ef5356c6ea4437555a28e37f2d23302835a2778028ad810f0c39432
|
7
|
+
data.tar.gz: 6ee25a16bae8c25ae4f431ad34ff7a0d5ac852557095b512f6ddd3705e77e713d7a25a52084c1bfac241f2b461984afeae44644f4329b9858ea47c75a54d8411
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.1.0-beta.2 - 2022-08-11
|
4
|
+
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
5
|
+
- Updated stable APIs to the latest version
|
6
|
+
- Add `refund_payment` method to Terminal resource
|
7
|
+
|
3
8
|
## 7.1.0-beta.1 - 2022-08-03
|
4
9
|
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
5
10
|
- Updated stable APIs to the latest version
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v178
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.1.0-beta.
|
1
|
+
7.1.0-beta.2
|
data/lib/stripe/api_version.rb
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
module ApiVersion
|
6
|
-
|
6
|
+
# rubocop:disable Layout/LineLength
|
7
|
+
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4; terminal_interac_refunds_beta=v1"
|
8
|
+
# rubocop:enable Layout/LineLength
|
7
9
|
end
|
8
10
|
end
|
@@ -38,6 +38,15 @@ module Stripe
|
|
38
38
|
)
|
39
39
|
end
|
40
40
|
|
41
|
+
def refund_payment(params = {}, opts = {})
|
42
|
+
request_stripe_object(
|
43
|
+
method: :post,
|
44
|
+
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(self["id"]) }),
|
45
|
+
params: params,
|
46
|
+
opts: opts
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
41
50
|
def set_reader_display(params = {}, opts = {})
|
42
51
|
request_stripe_object(
|
43
52
|
method: :post,
|
@@ -74,6 +83,15 @@ module Stripe
|
|
74
83
|
)
|
75
84
|
end
|
76
85
|
|
86
|
+
def self.refund_payment(reader, params = {}, opts = {})
|
87
|
+
request_stripe_object(
|
88
|
+
method: :post,
|
89
|
+
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(reader) }),
|
90
|
+
params: params,
|
91
|
+
opts: opts
|
92
|
+
)
|
93
|
+
end
|
94
|
+
|
77
95
|
def self.set_reader_display(reader, params = {}, opts = {})
|
78
96
|
request_stripe_object(
|
79
97
|
method: :post,
|
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: 7.1.0.pre.beta.
|
4
|
+
version: 7.1.0.pre.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-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.
|