stripe 5.52.0 → 5.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/stripe/resources/refund.rb +19 -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: 0a9e7f54ca7cf38cb46699a55f15b82c0973b77934d3f2e9eb94a5c5001a416b
|
|
4
|
+
data.tar.gz: 6edcca1ef41890e6139fdc8c32df1e254f44892f873dd250f97bc26c70483c2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 490fda5c8549d53225ded73b6349d954baf902d8dce7bccf3cea34df58781f3a5cb312065acca49f6908ba8f130b358da0f32ff5245c65a28495ead622c2b1ee
|
|
7
|
+
data.tar.gz: 4dbafc1d54fc90fdb003c77466cabb3c26fffd79d21e5f0774973a153ede061a9f4b1ece5999699e26f82cdf01628bd17e6acf25dff1f0bf5b9dc24433ee24f7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.53.0 - 2022-04-21
|
|
4
|
+
* [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
|
5
|
+
* Add support for `expire` test helper method on resource `Refund`
|
|
6
|
+
|
|
3
7
|
## 5.52.0 - 2022-04-18
|
|
4
8
|
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
|
5
9
|
* Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.53.0
|
|
@@ -19,5 +19,24 @@ module Stripe
|
|
|
19
19
|
opts: opts
|
|
20
20
|
)
|
|
21
21
|
end
|
|
22
|
+
|
|
23
|
+
def test_helpers
|
|
24
|
+
TestHelpers.new(self)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
class TestHelpers < APIResourceTestHelpers
|
|
28
|
+
RESOURCE_CLASS = Refund
|
|
29
|
+
|
|
30
|
+
custom_method :expire, http_verb: :post
|
|
31
|
+
|
|
32
|
+
def expire(params = {}, opts = {})
|
|
33
|
+
@resource.request_stripe_object(
|
|
34
|
+
method: :post,
|
|
35
|
+
path: resource_url + "/expire",
|
|
36
|
+
params: params,
|
|
37
|
+
opts: opts
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
end
|
|
22
41
|
end
|
|
23
42
|
end
|
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: 5.
|
|
4
|
+
version: 5.53.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-21 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.
|