stripe 5.48.0 → 5.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/stripe/resources/payment_intent.rb +10 -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: 86b2523f0ba5dc9577ec83de2608e76e77d5d08cd7611c92f41a957a90a019e6
|
4
|
+
data.tar.gz: 849e0b6f2adcc0db8b496da23873d250be962ae9f4e5c3e47fc161d44e1602fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c75a5b1d4229f4489e5198dce6ab38f444106891e3ff42d74b68138b4a1d4258c7a1c3f827007bf74d1d525b7f9b741ba34144b85cf6366b170bf45c0255e90d
|
7
|
+
data.tar.gz: '0835cbdf3d368a81801e3171d3affb69eb94dee7ca91bc46a402506b7525f0887f1f8b1b27c97abb9db3bc14cf4bac92d9eccdb76474f9fc842a72ce4df3bea0'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 5.49.0 - 2022-04-08
|
4
|
+
* [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
5
|
+
* Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
6
|
+
|
3
7
|
## 5.48.0 - 2022-03-30
|
4
8
|
* [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
5
9
|
* Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.
|
1
|
+
5.49.0
|
@@ -10,11 +10,21 @@ module Stripe
|
|
10
10
|
|
11
11
|
OBJECT_NAME = "payment_intent"
|
12
12
|
|
13
|
+
custom_method :apply_customer_balance, http_verb: :post
|
13
14
|
custom_method :cancel, http_verb: :post
|
14
15
|
custom_method :capture, http_verb: :post
|
15
16
|
custom_method :confirm, http_verb: :post
|
16
17
|
custom_method :verify_microdeposits, http_verb: :post
|
17
18
|
|
19
|
+
def apply_customer_balance(params = {}, opts = {})
|
20
|
+
request_stripe_object(
|
21
|
+
method: :post,
|
22
|
+
path: resource_url + "/apply_customer_balance",
|
23
|
+
params: params,
|
24
|
+
opts: opts
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
18
28
|
def cancel(params = {}, opts = {})
|
19
29
|
request_stripe_object(
|
20
30
|
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: 5.
|
4
|
+
version: 5.49.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-
|
11
|
+
date: 2022-04-08 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.
|