stripe 5.54.0 → 5.55.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 +5 -0
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +5 -0
- data/lib/stripe/resources/financial_connections/account.rb +31 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +10 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +10 -0
- data/lib/stripe/resources/financial_connections/session.rb +12 -0
- data/lib/stripe/resources.rb +4 -0
- data/lib/stripe/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e81cc3af76a8942f879c1b312bbcc6ad27257cb9b68f9a63df76bd430ff9cf8
|
|
4
|
+
data.tar.gz: c83f7ae353941a10279ba76237f64e700f0e6bce06fe9475250b85308f72d57f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b4aff3650ae5933a0fae274bf1fe1e142f8361fbd0b3734502ce317a82492bda2124e155ff335b311abbda1d9751fdbc15e4a1754c94fe8b6d8a24e206b599e
|
|
7
|
+
data.tar.gz: f23307331d6ded3934361f9fff180a0ecda5df30bb3f5708e359d3b0712ed5262873b2220400d124544b113249a7ff5f1ae885cef381b9a8b3aa6388295527a7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.55.0 - 2022-05-05
|
|
4
|
+
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
|
5
|
+
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
## 5.54.0 - 2022-05-03
|
|
4
9
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
|
5
10
|
* Add support for new resource `CashBalance`
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.55.0
|
data/lib/stripe/object_types.rb
CHANGED
|
@@ -44,6 +44,11 @@ module Stripe
|
|
|
44
44
|
File::OBJECT_NAME => File,
|
|
45
45
|
File::OBJECT_NAME_ALT => File,
|
|
46
46
|
FileLink::OBJECT_NAME => FileLink,
|
|
47
|
+
FinancialConnections::Account::OBJECT_NAME => FinancialConnections::Account,
|
|
48
|
+
FinancialConnections::AccountOwner::OBJECT_NAME => FinancialConnections::AccountOwner,
|
|
49
|
+
FinancialConnections::AccountOwnership::OBJECT_NAME =>
|
|
50
|
+
FinancialConnections::AccountOwnership,
|
|
51
|
+
FinancialConnections::Session::OBJECT_NAME => FinancialConnections::Session,
|
|
47
52
|
FundingInstructions::OBJECT_NAME => FundingInstructions,
|
|
48
53
|
Identity::VerificationReport::OBJECT_NAME => Identity::VerificationReport,
|
|
49
54
|
Identity::VerificationSession::OBJECT_NAME => Identity::VerificationSession,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module FinancialConnections
|
|
6
|
+
class Account < APIResource
|
|
7
|
+
OBJECT_NAME = "financial_connections.account"
|
|
8
|
+
|
|
9
|
+
custom_method :disconnect, http_verb: :post
|
|
10
|
+
custom_method :refresh, http_verb: :post
|
|
11
|
+
|
|
12
|
+
def disconnect(params = {}, opts = {})
|
|
13
|
+
request_stripe_object(
|
|
14
|
+
method: :post,
|
|
15
|
+
path: resource_url + "/disconnect",
|
|
16
|
+
params: params,
|
|
17
|
+
opts: opts
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def refresh(params = {}, opts = {})
|
|
22
|
+
request_stripe_object(
|
|
23
|
+
method: :post,
|
|
24
|
+
path: resource_url + "/refresh",
|
|
25
|
+
params: params,
|
|
26
|
+
opts: opts
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module FinancialConnections
|
|
6
|
+
class Session < APIResource
|
|
7
|
+
extend Stripe::APIOperations::Create
|
|
8
|
+
|
|
9
|
+
OBJECT_NAME = "financial_connections.session"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/stripe/resources.rb
CHANGED
|
@@ -32,6 +32,10 @@ require "stripe/resources/event"
|
|
|
32
32
|
require "stripe/resources/exchange_rate"
|
|
33
33
|
require "stripe/resources/file"
|
|
34
34
|
require "stripe/resources/file_link"
|
|
35
|
+
require "stripe/resources/financial_connections/account"
|
|
36
|
+
require "stripe/resources/financial_connections/account_owner"
|
|
37
|
+
require "stripe/resources/financial_connections/account_ownership"
|
|
38
|
+
require "stripe/resources/financial_connections/session"
|
|
35
39
|
require "stripe/resources/funding_instructions"
|
|
36
40
|
require "stripe/resources/identity/verification_report"
|
|
37
41
|
require "stripe/resources/identity/verification_session"
|
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.55.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-05-
|
|
11
|
+
date: 2022-05-05 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.
|
|
@@ -80,6 +80,10 @@ files:
|
|
|
80
80
|
- lib/stripe/resources/exchange_rate.rb
|
|
81
81
|
- lib/stripe/resources/file.rb
|
|
82
82
|
- lib/stripe/resources/file_link.rb
|
|
83
|
+
- lib/stripe/resources/financial_connections/account.rb
|
|
84
|
+
- lib/stripe/resources/financial_connections/account_owner.rb
|
|
85
|
+
- lib/stripe/resources/financial_connections/account_ownership.rb
|
|
86
|
+
- lib/stripe/resources/financial_connections/session.rb
|
|
83
87
|
- lib/stripe/resources/funding_instructions.rb
|
|
84
88
|
- lib/stripe/resources/identity/verification_report.rb
|
|
85
89
|
- lib/stripe/resources/identity/verification_session.rb
|