stripe 5.44.0 → 5.45.0

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: 00ec1a11bdbe04229b1d1649fb6734fb7708ac33cc67794f04b77a3fc5944952
4
- data.tar.gz: ea006443a2f57c24b67b3effbcc693a3ae1ed6a688ebe0dc18cf9f014fda0847
3
+ metadata.gz: 2971f0ad2ef29349e932246a9bc9065d5d1ce53f21c14f7bcdb205b443779a42
4
+ data.tar.gz: a9a980c5cbdc14d79d60f5873f267db10153bd556c81378ec3c3ca270d87252d
5
5
  SHA512:
6
- metadata.gz: 8cddde45a7100e9e2c7803b752218af71d16208b90d808df79aac161c0a115bc952127c971d492f72496b9d13df8e25351748e78b65cfef1ce5ec4cb0b0d4296
7
- data.tar.gz: 7c6a3a82748389de1a1b4088219d56d7564145718d1e4beaac53be90e56899669dc50a72613023c0409b0f70d49f6f75c7ad712d10e8a65de39b25e22ceba961
6
+ metadata.gz: 47c89bc9c732bafeae007d6663ca82cbf5e32938d392bb130209d389f7fa59fa54ecb26b0f7b93658b8cd18eab82127c2bfedd6b8c6e3887bb92c99bcc41f11b
7
+ data.tar.gz: a73469bc20fbf0fae44c6409efbe53ce8d90c54dca56fe2f99dfc8a8fd045e9ac295b9df86f13be555648ead094746cb385cb2731cdbb40edbae858f2083f292
data/CHANGELOG.md CHANGED
@@ -1,9 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.45.0 - 2022-03-01
4
+ * [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
5
+ * Add support for new resource `TestHelpers.TestClock`
6
+
3
7
  ## 5.44.0 - 2022-02-16
4
8
  * [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
5
- * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
6
-
9
+ * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
7
10
 
8
11
  ## 5.43.0 - 2022-01-20
9
12
  * [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.44.0
1
+ 5.45.0
@@ -94,6 +94,7 @@ module Stripe
94
94
  Terminal::ConnectionToken::OBJECT_NAME => Terminal::ConnectionToken,
95
95
  Terminal::Location::OBJECT_NAME => Terminal::Location,
96
96
  Terminal::Reader::OBJECT_NAME => Terminal::Reader,
97
+ TestHelpers::TestClock::OBJECT_NAME => TestHelpers::TestClock,
97
98
  ThreeDSecure::OBJECT_NAME => ThreeDSecure,
98
99
  Token::OBJECT_NAME => Token,
99
100
  Topup::OBJECT_NAME => Topup,
@@ -0,0 +1,25 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module TestHelpers
6
+ class TestClock < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ include Stripe::APIOperations::Delete
9
+ extend Stripe::APIOperations::List
10
+
11
+ OBJECT_NAME = "test_helpers.test_clock"
12
+
13
+ custom_method :advance, http_verb: :post
14
+
15
+ def advance(params = {}, opts = {})
16
+ request_stripe_object(
17
+ method: :post,
18
+ path: resource_url + "/advance",
19
+ params: params,
20
+ opts: opts
21
+ )
22
+ end
23
+ end
24
+ end
25
+ end
@@ -83,6 +83,7 @@ require "stripe/resources/tax_rate"
83
83
  require "stripe/resources/terminal/connection_token"
84
84
  require "stripe/resources/terminal/location"
85
85
  require "stripe/resources/terminal/reader"
86
+ require "stripe/resources/test_helpers/test_clock"
86
87
  require "stripe/resources/three_d_secure"
87
88
  require "stripe/resources/token"
88
89
  require "stripe/resources/topup"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.44.0"
4
+ VERSION = "5.45.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.44.0
4
+ version: 5.45.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-02-16 00:00:00.000000000 Z
11
+ date: 2022-03-01 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.
@@ -128,6 +128,7 @@ files:
128
128
  - lib/stripe/resources/terminal/connection_token.rb
129
129
  - lib/stripe/resources/terminal/location.rb
130
130
  - lib/stripe/resources/terminal/reader.rb
131
+ - lib/stripe/resources/test_helpers/test_clock.rb
131
132
  - lib/stripe/resources/three_d_secure.rb
132
133
  - lib/stripe/resources/token.rb
133
134
  - lib/stripe/resources/topup.rb