adyen-ruby-api-library 5.0.0 → 5.1.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: 02ec361baadfa4a0b114ff3f4b162f737775e22ed23b40d79e76fb0dfda3d7e2
4
- data.tar.gz: cbffe8658ad929e8e7a7eb210013a43dbf2c58094b46e3c753c4e07ba41f4b43
3
+ metadata.gz: 606de1d31b6cefd59729a9f8f3e865ab3d6f2b8542c45187193552b6081ca73c
4
+ data.tar.gz: 696ae30282dda22e188e7fc4dbe6bc1fe9c3d9eba1a205bc8e4aa8f5252c860a
5
5
  SHA512:
6
- metadata.gz: aa6e2f3474c3d4178fd25076994ccb76b034c8976f47f6da749bdda656b2dbc15c18757f2f7339777a15fd67f18c1d0b0b6f31436a5430a84283d6b39f69387d
7
- data.tar.gz: 1b13bf85208f2820b7d4bc033a267b1db8dc727c00b64bd2357cc16e1e34398a70c63bb05b8d7559e3bd7b4b6a03307025a7c5d87c59dc71404a460a758b7cd9
6
+ metadata.gz: 8d8ca15489a40507aec9d8b1e6484efdc68f1189dca253e12e8d46f030fbc59e324021046a218d133e0fa337873e9978585bdc5e8c7010e3150993e683374818
7
+ data.tar.gz: 73ed56f5737ebfc1834622d97daeae79c7910fafa8fe9f4f4424ed7bd26c4bad29bcc22ab0d2f65be3edca4cc8191c88c86c9b7274dcaec1ff98b1a688b7bd69
data/docs/marketpay.html CHANGED
@@ -61,6 +61,8 @@
61
61
  <li>delete_bank_accounts</li>
62
62
 
63
63
  <li>delete_shareholders</li>
64
+
65
+ <li>delete_signatories</li>
64
66
  </ul>
65
67
 
66
68
  <h4 id="marketpayfund">marketpay.fund:</h4>
@@ -44,6 +44,7 @@ module Adyen
44
44
  :update_account_holder_state,
45
45
  :delete_bank_accounts,
46
46
  :delete_shareholders,
47
+ :delete_signatories,
47
48
  :close_account,
48
49
  :close_account_holder,
49
50
  :suspend_account_holder,
data/lib/adyen/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Adyen
2
2
  NAME = "adyen-ruby-api-library"
3
- VERSION = "5.0.0".freeze
3
+ VERSION = "5.1.0".freeze
4
4
  end
data/spec/account_spec.rb CHANGED
@@ -21,6 +21,7 @@ RSpec.describe Adyen::Payments, service: "marketpay account service" do
21
21
  ["get_uploaded_documents", "pspReference", "9914694369860322"],
22
22
  ["delete_bank_accounts", "pspReference", "9914694372670551"],
23
23
  ["delete_shareholders", "pspReference", "9914694372990637"],
24
+ ["delete_signatories", "pspReference", "9914694372990637"],
24
25
  ["delete_payout_methods", "pspReference", "9914694372990637"],
25
26
  ["check_account_holder", "pspReference", "9914694372990637"],
26
27
  ]
@@ -0,0 +1,6 @@
1
+ {
2
+ "accountHolderCode": "CODE_OF_ACCOUNT_HOLDER",
3
+ "signatoryCodes": [
4
+ "9188218c-576e-4cbe-8e86-72722f453920"
5
+ ]
6
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "pspReference":"9914694372990637"
3
+ }
data/spec/service_spec.rb CHANGED
@@ -18,6 +18,7 @@ RSpec.describe Adyen::Service do
18
18
  expect(described_class.action_for_method_name(:decline_third_party)).to eq 'declineThirdParty'
19
19
  expect(described_class.action_for_method_name(:delete_bank_accounts)).to eq 'deleteBankAccounts'
20
20
  expect(described_class.action_for_method_name(:delete_shareholders)).to eq 'deleteShareholders'
21
+ expect(described_class.action_for_method_name(:delete_signatories)).to eq 'deleteSignatories'
21
22
  expect(described_class.action_for_method_name(:disable)).to eq 'disable'
22
23
  expect(described_class.action_for_method_name(:donate)).to eq 'donate'
23
24
  expect(described_class.action_for_method_name(:get_account_holder)).to eq 'getAccountHolder'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adyen-ruby-api-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-31 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -142,6 +142,7 @@ files:
142
142
  - spec/mocks/requests/Account/delete_bank_accounts.json
143
143
  - spec/mocks/requests/Account/delete_payout_methods.json
144
144
  - spec/mocks/requests/Account/delete_shareholders.json
145
+ - spec/mocks/requests/Account/delete_signatories.json
145
146
  - spec/mocks/requests/Account/get_account_holder.json
146
147
  - spec/mocks/requests/Account/get_uploaded_documents.json
147
148
  - spec/mocks/requests/Account/suspend_account_holder.json
@@ -216,6 +217,7 @@ files:
216
217
  - spec/mocks/responses/Account/delete_bank_accounts.json
217
218
  - spec/mocks/responses/Account/delete_payout_methods.json
218
219
  - spec/mocks/responses/Account/delete_shareholders.json
220
+ - spec/mocks/responses/Account/delete_signatories.json
219
221
  - spec/mocks/responses/Account/get_account_holder.json
220
222
  - spec/mocks/responses/Account/get_uploaded_documents.json
221
223
  - spec/mocks/responses/Account/suspend_account_holder.json