currency_cloud 4.4.0 → 4.4.1
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/lib/currency_cloud/errors/api_error.rb +16 -6
- data/lib/currency_cloud/version.rb +1 -1
- data/spec/integration/errors_spec.rb +23 -0
- data/spec/support/vcr_cassettes/Accounts/can_retrieve_account_payment_charges_settings.yml +2 -2
- data/spec/support/vcr_cassettes/Accounts/can_update_account_payment_charges_settings.yml +2 -2
- data/spec/support/vcr_cassettes/Accounts/get_compliance_settings.yml +2 -2
- data/spec/support/vcr_cassettes/Accounts/update_compliance_settings.yml +2 -2
- data/spec/support/vcr_cassettes/CollectionsScreening/can_complete_with_accepted_false.yml +2 -2
- data/spec/support/vcr_cassettes/CollectionsScreening/can_complete_with_accepted_true.yml +2 -2
- data/spec/support/vcr_cassettes/Conversions/can_cancel_conversion/with_notes/has_a_non-empty_notes_attribute.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_cancel_conversion/without_notes/has_a_empty_notes_attribute.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_cancellation_quote.yml +2 -2
- data/spec/support/vcr_cassettes/Conversions/can_date_change_conversion.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_retrieve_cancellation_quote.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_retrieve_date_change_quote.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_retrieve_profit_and_loss.yml +2 -2
- data/spec/support/vcr_cassettes/Conversions/can_split_conversion.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_split_history.yml +3 -3
- data/spec/support/vcr_cassettes/Conversions/can_split_preview.yml +3 -3
- data/spec/support/vcr_cassettes/FundingAccounts/can_find.yml +2 -2
- data/spec/support/vcr_cassettes/FundingAccounts/can_find_bad_request.yml +2 -2
- data/spec/support/vcr_cassettes/FundingAccounts/can_find_missing_currency.yml +2 -2
- data/spec/support/vcr_cassettes/FundingAccounts/can_find_unauthorized.yml +1 -1
- data/spec/support/vcr_cassettes/FundingTransactions/can_retrieve.yml +2 -2
- data/spec/support/vcr_cassettes/IBANs/can_IBANs_for_a_specific_subaccount.yml +2 -2
- data/spec/support/vcr_cassettes/IBANs/can_IBANs_for_subaccounts.yml +2 -2
- data/spec/support/vcr_cassettes/IBANs/can_find.yml +1 -1
- data/spec/support/vcr_cassettes/Payments/can_authorise/when_payment_ids_are_valid.yml +5 -5
- data/spec/support/vcr_cassettes/Payments/can_create.yml +3 -3
- data/spec/support/vcr_cassettes/Payments/can_create_bad_request.yml +2 -2
- data/spec/support/vcr_cassettes/Payments/can_get_the_new_submission.yml +4 -4
- data/spec/support/vcr_cassettes/Payments/can_retrieve_confirmation.yml +3 -3
- data/spec/support/vcr_cassettes/Payments/can_retrieve_payment_delivery_date.yml +2 -2
- data/spec/support/vcr_cassettes/Payments/can_retrieve_payment_tracking_info.yml +2 -2
- data/spec/support/vcr_cassettes/Payments/can_retrieve_quote_payment_fee.yml +2 -2
- data/spec/support/vcr_cassettes/Payments/can_validate.yml +3 -3
- data/spec/support/vcr_cassettes/Payments/can_validate_and_create_with_sca.yml +4 -4
- data/spec/support/vcr_cassettes/Quotes/can_create_a_held_rate_quote.yml +2 -2
- data/spec/support/vcr_cassettes/Quotes/can_create_a_quote_with_conversion_date.yml +2 -2
- data/spec/support/vcr_cassettes/Quotes/can_create_a_quote_with_conversion_date_preference.yml +2 -2
- data/spec/support/vcr_cassettes/Rates/can_provided_detailed_rate_with_conversion_date_preference.yml +1 -1
- data/spec/support/vcr_cassettes/Reference/can_retrieve_bank_details.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_conversion_dates.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_currencies.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_payer_required_details.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_dates.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_fee_rules.yml +1 -1
- data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_purpose_codes.yml +2 -2
- data/spec/support/vcr_cassettes/Reference/can_retrieve_settlement_accounts.yml +2 -2
- data/spec/support/vcr_cassettes/Reports/can_create_payments_report.yml +2 -2
- data/spec/support/vcr_cassettes/Reports/can_find_report_requests.yml +2 -2
- data/spec/support/vcr_cassettes/Reports/can_retrieve_report_request.yml +2 -2
- data/spec/support/vcr_cassettes/TermsAndConditions/can_accept_terms.yml +3 -3
- data/spec/support/vcr_cassettes/Transactions/can_retrieve_sender_details.yml +2 -2
- data/spec/support/vcr_cassettes/Transfers/can_cancel.yml +3 -3
- data/spec/support/vcr_cassettes/Transfers/can_create.yml +2 -2
- data/spec/support/vcr_cassettes/Transfers/can_find.yml +3 -3
- data/spec/support/vcr_cassettes/Transfers/can_retrieve.yml +3 -3
- data/spec/support/vcr_cassettes/VirtualAccounts/can_find.yml +2 -2
- data/spec/support/vcr_cassettes/VirtualAccounts/can_find_VANs_for_a_specific_subaccount.yml +2 -2
- data/spec/support/vcr_cassettes/VirtualAccounts/can_find_VANs_for_subaccounts.yml +2 -2
- data/spec/support/vcr_cassettes/WithdrawalAccounts/can_find_withdrawal_accounts.yml +3 -3
- data/spec/support/vcr_cassettes/WithdrawalAccounts/can_find_withdrawal_accounts2.yml +3 -3
- data/spec/support/vcr_cassettes/WithdrawalAccounts/can_pull_funds.yml +3 -3
- metadata +1 -1
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
|
8
8
|
string: login_id=development%40currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
11
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
|
60
60
|
X-Auth-Token:
|
|
61
61
|
- deadbeefdeadbeefdeadbeefdeadbeef
|
|
62
62
|
User-Agent:
|
|
63
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
63
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
64
64
|
response:
|
|
65
65
|
status:
|
|
66
66
|
code: 200
|
|
@@ -88,7 +88,7 @@ http_interactions:
|
|
|
88
88
|
Access-Control-Allow-Methods:
|
|
89
89
|
- DELETE,POST,GET,OPTIONS,PATCH,PUT
|
|
90
90
|
User-Agent:
|
|
91
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
91
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
92
92
|
X-Forwarded-Proto:
|
|
93
93
|
- https
|
|
94
94
|
Cdn-Loop:
|
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
|
8
8
|
string: login_id=development%40currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
11
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
|
68
68
|
X-Auth-Token:
|
|
69
69
|
- deadbeefdeadbeefdeadbeefdeadbeef
|
|
70
70
|
User-Agent:
|
|
71
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
71
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
72
72
|
response:
|
|
73
73
|
status:
|
|
74
74
|
code: 200
|
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
|
96
96
|
Access-Control-Allow-Methods:
|
|
97
97
|
- DELETE,POST,GET,OPTIONS,PATCH,PUT
|
|
98
98
|
User-Agent:
|
|
99
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
99
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
100
100
|
X-Forwarded-Proto:
|
|
101
101
|
- https
|
|
102
102
|
Cdn-Loop:
|
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
|
8
8
|
string: login_id=development%40currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
11
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
|
68
68
|
X-Auth-Token:
|
|
69
69
|
- deadbeefdeadbeefdeadbeefdeadbeef
|
|
70
70
|
User-Agent:
|
|
71
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
71
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
72
72
|
response:
|
|
73
73
|
status:
|
|
74
74
|
code: 200
|
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
|
96
96
|
Access-Control-Allow-Methods:
|
|
97
97
|
- DELETE,POST,GET,OPTIONS,PATCH,PUT
|
|
98
98
|
User-Agent:
|
|
99
|
-
- CurrencyCloudSDK/2.0 Ruby/4.4.
|
|
99
|
+
- CurrencyCloudSDK/2.0 Ruby/4.4.1
|
|
100
100
|
X-Forwarded-Proto:
|
|
101
101
|
- https
|
|
102
102
|
Cdn-Loop:
|