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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9d6ce176535bbef6a323f2005c49048ff277bb6c586dc4ac1fbe3d8872b0005
4
- data.tar.gz: 2aa8f2749a5abecf6643c9f5518508724f576e2ad72455feb0efa3cced7bd259
3
+ metadata.gz: 7e81cc3af76a8942f879c1b312bbcc6ad27257cb9b68f9a63df76bd430ff9cf8
4
+ data.tar.gz: c83f7ae353941a10279ba76237f64e700f0e6bce06fe9475250b85308f72d57f
5
5
  SHA512:
6
- metadata.gz: d551c722fc7caaaf263767ad5501b0d07c8c13af67bf607a109d3e69304c8baf910c15066d5860185d5841fc4be087f644045d573540acdad693caefd166c0a6
7
- data.tar.gz: e48bf0b144136767e533d5be9ff804ab0d2b0c211ec4893be5aa2adfeebfb47f039584f92f9dc140c2b677e21f0e8238f258e596ac75714ed1be300ecd63c524
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.54.0
1
+ 5.55.0
@@ -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,10 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module FinancialConnections
6
+ class AccountOwner < StripeObject
7
+ OBJECT_NAME = "financial_connections.account_owner"
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module FinancialConnections
6
+ class AccountOwnership < StripeObject
7
+ OBJECT_NAME = "financial_connections.account_ownership"
8
+ end
9
+ end
10
+ 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
@@ -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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.54.0"
4
+ VERSION = "5.55.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.54.0
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-03 00:00:00.000000000 Z
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