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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4555e15aac2bf452df614b0d95bb03e130c5033fbe36c1321a072f4d57d4bb5d
4
- data.tar.gz: 678111bc76cca09d3f57bd98d80b82a3774073280572a9c692a16c3342968da0
3
+ metadata.gz: 0a9e7f54ca7cf38cb46699a55f15b82c0973b77934d3f2e9eb94a5c5001a416b
4
+ data.tar.gz: 6edcca1ef41890e6139fdc8c32df1e254f44892f873dd250f97bc26c70483c2f
5
5
  SHA512:
6
- metadata.gz: 54798bd1c0f02db07744e05d657f354fa801da8cd4f20083a8e40f99c57168afde243711abd59c6a6477a439b19d7608a03177cea99a6638498f5b619521188d
7
- data.tar.gz: 1fab9e4bc2380ad6ae41c04300ce4a9e789e5a5244487c3e1a3b08fea6e670614820b8e490893f5328c1dad37de18267057585fdb853b3584be0c5ccb99acfd0
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.52.0
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.52.0"
4
+ VERSION = "5.53.0"
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: 5.52.0
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-18 00:00:00.000000000 Z
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.