stripe 4.21.1 → 4.21.2
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 +3 -0
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +1 -1
- data/lib/stripe/resources/credit_note.rb +1 -1
- data/lib/stripe/resources/dispute.rb +1 -1
- data/lib/stripe/resources/invoice.rb +5 -5
- data/lib/stripe/resources/issuing/authorization.rb +2 -2
- data/lib/stripe/resources/payment_intent.rb +3 -3
- data/lib/stripe/resources/payment_method.rb +2 -2
- data/lib/stripe/resources/payout.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +2 -2
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription_schedule.rb +2 -2
- data/lib/stripe/resources/topup.rb +1 -1
- data/lib/stripe/resources/transfer.rb +1 -1
- 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: 9565603560cfb5f63405f2ac5a1fbbab363d736c81bb7d06858a06530e9fb5b9
|
|
4
|
+
data.tar.gz: cc69afe87e63b28d38b1fcd5482cc947b24e0f13414e2c8abc4a2267b27ba373
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6fdbf78bb9cce8463cedb3859755607b5c4b5e9eeea2125aee9079e3ea9ed00c623d8ce5dd249b4ee042c05552b80be8b7848a831c1a73d1e14cc72bcbd11e97
|
|
7
|
+
data.tar.gz: 539d01633f5ced964669bd7611aaeb64534b54a2125ea8e0480867e9d94a5af8d9563450e6ac9e2bdedf3e72d0f25fca77ca8c2d3c08a6049b804a72340bc237
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.21.2 - 2019-07-05
|
|
4
|
+
* [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
|
|
5
|
+
|
|
3
6
|
## 4.21.1 - 2019-07-04
|
|
4
7
|
* [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
|
|
5
8
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.21.
|
|
1
|
+
4.21.2
|
|
@@ -21,7 +21,7 @@ module Stripe
|
|
|
21
21
|
|
|
22
22
|
def reject(params = {}, opts = {})
|
|
23
23
|
resp, opts = request(:post, resource_url + "/reject", params, opts)
|
|
24
|
-
|
|
24
|
+
initialize_from(resp.data, opts)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
save_nested_resource :external_account
|
|
@@ -17,27 +17,27 @@ module Stripe
|
|
|
17
17
|
|
|
18
18
|
def finalize_invoice(params = {}, opts = {})
|
|
19
19
|
resp, opts = request(:post, resource_url + "/finalize", params, opts)
|
|
20
|
-
|
|
20
|
+
initialize_from(resp.data, opts)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def mark_uncollectible(params = {}, opts = {})
|
|
24
24
|
resp, opts = request(:post, resource_url + "/mark_uncollectible", params, opts)
|
|
25
|
-
|
|
25
|
+
initialize_from(resp.data, opts)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def pay(params = {}, opts = {})
|
|
29
29
|
resp, opts = request(:post, resource_url + "/pay", params, opts)
|
|
30
|
-
|
|
30
|
+
initialize_from(resp.data, opts)
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def send_invoice(params = {}, opts = {})
|
|
34
34
|
resp, opts = request(:post, resource_url + "/send", params, opts)
|
|
35
|
-
|
|
35
|
+
initialize_from(resp.data, opts)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def void_invoice(params = {}, opts = {})
|
|
39
39
|
resp, opts = request(:post, resource_url + "/void", params, opts)
|
|
40
|
-
|
|
40
|
+
initialize_from(resp.data, opts)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def self.upcoming(params, opts = {})
|
|
@@ -13,12 +13,12 @@ module Stripe
|
|
|
13
13
|
|
|
14
14
|
def approve(params = {}, opts = {})
|
|
15
15
|
resp, opts = request(:post, resource_url + "/approve", params, opts)
|
|
16
|
-
|
|
16
|
+
initialize_from(resp.data, opts)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def decline(params = {}, opts = {})
|
|
20
20
|
resp, opts = request(:post, resource_url + "/decline", params, opts)
|
|
21
|
-
|
|
21
|
+
initialize_from(resp.data, opts)
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -14,17 +14,17 @@ module Stripe
|
|
|
14
14
|
|
|
15
15
|
def cancel(params = {}, opts = {})
|
|
16
16
|
resp, opts = request(:post, resource_url + "/cancel", params, opts)
|
|
17
|
-
|
|
17
|
+
initialize_from(resp.data, opts)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def capture(params = {}, opts = {})
|
|
21
21
|
resp, opts = request(:post, resource_url + "/capture", params, opts)
|
|
22
|
-
|
|
22
|
+
initialize_from(resp.data, opts)
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def confirm(params = {}, opts = {})
|
|
26
26
|
resp, opts = request(:post, resource_url + "/confirm", params, opts)
|
|
27
|
-
|
|
27
|
+
initialize_from(resp.data, opts)
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
30
|
end
|
|
@@ -13,12 +13,12 @@ module Stripe
|
|
|
13
13
|
|
|
14
14
|
def attach(params = {}, opts = {})
|
|
15
15
|
resp, opts = request(:post, resource_url + "/attach", params, opts)
|
|
16
|
-
|
|
16
|
+
initialize_from(resp.data, opts)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def detach(params = {}, opts = {})
|
|
20
20
|
resp, opts = request(:post, resource_url + "/detach", params, opts)
|
|
21
|
-
|
|
21
|
+
initialize_from(resp.data, opts)
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -13,12 +13,12 @@ module Stripe
|
|
|
13
13
|
|
|
14
14
|
def cancel(params = {}, opts = {})
|
|
15
15
|
resp, opts = request(:post, resource_url + "/cancel", params, opts)
|
|
16
|
-
|
|
16
|
+
initialize_from(resp.data, opts)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def confirm(params = {}, opts = {})
|
|
20
20
|
resp, opts = request(:post, resource_url + "/confirm", params, opts)
|
|
21
|
-
|
|
21
|
+
initialize_from(resp.data, opts)
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -16,12 +16,12 @@ module Stripe
|
|
|
16
16
|
|
|
17
17
|
def cancel(params = {}, opts = {})
|
|
18
18
|
resp, opts = request(:post, resource_url + "/cancel", params, opts)
|
|
19
|
-
|
|
19
|
+
initialize_from(resp.data, opts)
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def release(params = {}, opts = {})
|
|
23
23
|
resp, opts = request(:post, resource_url + "/release", params, opts)
|
|
24
|
-
|
|
24
|
+
initialize_from(resp.data, opts)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def revisions(params = {}, opts = {})
|
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: 4.21.
|
|
4
|
+
version: 4.21.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-07-
|
|
11
|
+
date: 2019-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|