currency_cloud 0.16.2 → 0.17.7

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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/currency_cloud.gemspec +4 -3
  4. data/lib/currency_cloud/payment.rb +4 -0
  5. data/lib/currency_cloud/payment_tracking_info.rb +5 -0
  6. data/lib/currency_cloud/version.rb +2 -2
  7. data/lib/currency_cloud/withdrawal_account.rb +17 -0
  8. data/lib/currency_cloud/withdrawal_account_funds.rb +5 -0
  9. data/lib/currency_cloud/withdrawal_accounts.rb +6 -0
  10. data/spec/integration/payments_spec.rb +15 -0
  11. data/spec/integration/rates_spec.rb +8 -0
  12. data/spec/integration/withdrawal_accounts_spec.rb +69 -0
  13. data/spec/support/vcr_cassettes/Accounts/can_retrieve_account_payment_charges_settings.yml +2 -2
  14. data/spec/support/vcr_cassettes/Accounts/can_update_account_payment_charges_settings.yml +2 -2
  15. data/spec/support/vcr_cassettes/Conversions/can_cancel_conversion/with_notes/has_a_non-empty_notes_attribute.yml +3 -3
  16. data/spec/support/vcr_cassettes/Conversions/can_cancel_conversion/without_notes/has_a_empty_notes_attribute.yml +3 -3
  17. data/spec/support/vcr_cassettes/Conversions/can_cancellation_quote.yml +2 -2
  18. data/spec/support/vcr_cassettes/Conversions/can_date_change_conversion.yml +3 -3
  19. data/spec/support/vcr_cassettes/Conversions/can_retrieve_cancellation_quote.yml +3 -3
  20. data/spec/support/vcr_cassettes/Conversions/can_retrieve_date_change_quote.yml +3 -3
  21. data/spec/support/vcr_cassettes/Conversions/can_retrieve_profit_and_loss.yml +2 -2
  22. data/spec/support/vcr_cassettes/Conversions/can_split_conversion.yml +3 -3
  23. data/spec/support/vcr_cassettes/Conversions/can_split_history.yml +3 -3
  24. data/spec/support/vcr_cassettes/Conversions/can_split_preview.yml +3 -3
  25. data/spec/support/vcr_cassettes/FundingAccounts/can_find.yml +2 -2
  26. data/spec/support/vcr_cassettes/IBANs/can_IBANs_for_a_specific_subaccount.yml +2 -2
  27. data/spec/support/vcr_cassettes/IBANs/can_IBANs_for_subaccounts.yml +2 -2
  28. data/spec/support/vcr_cassettes/IBANs/can_find.yml +1 -1
  29. data/spec/support/vcr_cassettes/Payments/can_authorise/when_payment_ids_are_valid.yml +5 -5
  30. data/spec/support/vcr_cassettes/Payments/can_create.yml +3 -3
  31. data/spec/support/vcr_cassettes/Payments/can_get_the_submission.yml +4 -4
  32. data/spec/support/vcr_cassettes/Payments/can_retrieve_confirmation.yml +3 -3
  33. data/spec/support/vcr_cassettes/Payments/can_retrieve_payment_delivery_date.yml +2 -2
  34. data/spec/support/vcr_cassettes/Payments/can_retrieve_payment_tracking_info.yml +291 -0
  35. data/spec/support/vcr_cassettes/Payments/can_retrieve_quote_payment_fee.yml +2 -2
  36. data/spec/support/vcr_cassettes/Rates/can_provided_detailed_rate_with_conversion_date_preference.yml +68 -0
  37. data/spec/support/vcr_cassettes/Reference/can_retrieve_bank_details.yml +2 -2
  38. data/spec/support/vcr_cassettes/Reference/can_retrieve_conversion_dates.yml +2 -2
  39. data/spec/support/vcr_cassettes/Reference/can_retrieve_currencies.yml +2 -2
  40. data/spec/support/vcr_cassettes/Reference/can_retrieve_payer_required_details.yml +2 -2
  41. data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_dates.yml +2 -2
  42. data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_fee_rules.yml +1 -1
  43. data/spec/support/vcr_cassettes/Reference/can_retrieve_payment_purpose_codes.yml +2 -2
  44. data/spec/support/vcr_cassettes/Reference/can_retrieve_settlement_accounts.yml +2 -2
  45. data/spec/support/vcr_cassettes/Reports/can_create_payments_report.yml +2 -2
  46. data/spec/support/vcr_cassettes/Reports/can_find_report_requests.yml +2 -2
  47. data/spec/support/vcr_cassettes/Reports/can_retrieve_report_request.yml +2 -2
  48. data/spec/support/vcr_cassettes/Settlements/can_add_conversion.yml +1 -1
  49. data/spec/support/vcr_cassettes/Settlements/can_release.yml +1 -1
  50. data/spec/support/vcr_cassettes/Settlements/can_remove_conversion.yml +1 -1
  51. data/spec/support/vcr_cassettes/Settlements/can_unrelease.yml +1 -1
  52. data/spec/support/vcr_cassettes/Transactions/can_retrieve_sender_details.yml +2 -2
  53. data/spec/support/vcr_cassettes/Transfers/can_create.yml +2 -2
  54. data/spec/support/vcr_cassettes/Transfers/can_find.yml +3 -3
  55. data/spec/support/vcr_cassettes/Transfers/can_retrieve.yml +3 -3
  56. data/spec/support/vcr_cassettes/VirtualAccounts/can_find.yml +2 -2
  57. data/spec/support/vcr_cassettes/VirtualAccounts/can_find_VANs_for_a_specific_subaccount.yml +2 -2
  58. data/spec/support/vcr_cassettes/VirtualAccounts/can_find_VANs_for_subaccounts.yml +2 -2
  59. data/spec/support/vcr_cassettes/WithdrawalAccounts/can_find_withdrawal_accounts.yml +133 -0
  60. data/spec/support/vcr_cassettes/WithdrawalAccounts/can_find_withdrawal_accounts2.yml +140 -0
  61. data/spec/support/vcr_cassettes/WithdrawalAccounts/can_pull_funds.yml +140 -0
  62. metadata +32 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ede0ca2f2c49e836e993842a9ee166b688e553c98fdaee673f3dbf612e6e491d
4
- data.tar.gz: 65f38498aa910ab12917c1a98dd0280736dff4e9a93faff0e640fc95cd1292d0
3
+ metadata.gz: 8ab773d8854600c1bc676cf305a64f1b3c87f7027e5b99a71dbe6b019e1b75d4
4
+ data.tar.gz: d6c90092195034c587e0ebf7553f7efa3cca5cabebdff2cbf30f30e3ef1387f5
5
5
  SHA512:
6
- metadata.gz: 77a79896ebe304b82d07efbc4cd118e054cc9e6364976cbe1705067f3323925180780f3cb8465f2568db611c5255a5f20c628daca25aa754a61616c2dd6663c9
7
- data.tar.gz: 122137afe91f830d09a20e7c254382961bd680e48c909a7a426a219f8f6c3389054e9b40a1e0d3d1e575c6d4a6c6ec30d82157a7e812a01e63dd8c7740699008
6
+ metadata.gz: d1f076184d075b65e2ee64d9e32114e0bc648d29bf5039b050390bcda0a711ce78ab729af8e55e03ebdb5a81ddfb0b4831d8ca4aa66164f38e463312d3b1687f
7
+ data.tar.gz: 88bf5453a2c8591ab6aed1fc76ab0c96428ed08311577cce616458ec1449d2ab8f89ce5816141ee3e63a82f68c7640d89d258c8935d7c614c5161f831b393687
data/README.md CHANGED
@@ -16,13 +16,18 @@ you just want to use the library in your application, you should run:
16
16
  If you want to build the gem from source:
17
17
 
18
18
  `gem build currency_cloud.gemspec`
19
+
20
+ ## Deprecation Announcement
21
+
22
+ October 2020: Please be aware that __Ruby 1.9__ is now deprecated, it will not be supported from January 2021.
23
+ Please upgrade to a supported, secure version of Ruby, listed below.
24
+
19
25
 
20
26
  ## Supported Ruby versions
21
27
 
22
28
  This library aims to support and is [tested against][travis] the following Ruby
23
29
  implementations:
24
30
 
25
- * MRI 1.9.3
26
31
  * MRI 2.0.0
27
32
  * MRI 2.1.0
28
33
  * MRI 2.2.0
@@ -14,15 +14,16 @@ Gem::Specification.new do |s|
14
14
  s.required_ruby_version = '>= 1.9'
15
15
 
16
16
  s.add_dependency('httparty', '~> 0.14')
17
+
17
18
  if RUBY_VERSION == '1.9.3'
18
19
  s.add_dependency('json', '>= 1.8', '<= 2.2')
20
+ s.add_development_dependency('rake', '~> 10.3')
19
21
  else
20
- s.add_dependency('json', '>= 1.8')
22
+ s.add_dependency('json', '~> 2.3')
23
+ s.add_development_dependency('rake', '~> 12.3.3')
21
24
  end
22
25
 
23
-
24
26
  s.add_development_dependency('addressable', '<= 2.4.0')
25
- s.add_development_dependency('rake', '~> 10.3')
26
27
  s.add_development_dependency('rspec', '~> 3.1')
27
28
  s.add_development_dependency('vcr', '~> 3.0.3')
28
29
  s.add_development_dependency('webmock', '~> 2.3.2')
@@ -30,5 +30,9 @@ module CurrencyCloud
30
30
  QuotePaymentFee.new(result)
31
31
  end
32
32
 
33
+ def self.tracking_info(id)
34
+ result = client.get("#{id}/tracking_info")
35
+ PaymentTrackingInfo.new(result)
36
+ end
33
37
  end
34
38
  end
@@ -0,0 +1,5 @@
1
+ module CurrencyCloud
2
+ class PaymentTrackingInfo
3
+ include CurrencyCloud::Resource
4
+ end
5
+ end
@@ -1,6 +1,6 @@
1
1
  # Separate Gem version from 'API version'
2
2
 
3
3
  module CurrencyCloud
4
- API_VERSION = 'v2'.freeze # API Version
5
- VERSION = '0.16.2'.freeze # Gem Version
4
+ API_VERSION = "v2".freeze # API Version
5
+ VERSION = "0.17.7".freeze # Gem Version
6
6
  end
@@ -0,0 +1,17 @@
1
+ module CurrencyCloud
2
+ class WithdrawalAccount
3
+ include CurrencyCloud::Resource
4
+
5
+ resource :withdrawal_accounts
6
+
7
+ def self.find(params = {})
8
+ result = client.get("/", params)
9
+ WithdrawalAccounts.new(:withdrawal_accounts, self, result)
10
+ end
11
+
12
+ def self.pull_funds(withdrawal_account_id, params = {})
13
+ result = client.post("#{withdrawal_account_id}/pull_funds", params)
14
+ WithdrawalAccountFunds.new(result)
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,5 @@
1
+ module CurrencyCloud
2
+ class WithdrawalAccountFunds
3
+ include CurrencyCloud::Resource
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ require "currency_cloud/resourceful_collection"
2
+
3
+ module CurrencyCloud
4
+ class WithdrawalAccounts < CurrencyCloud::ResourcefulCollection
5
+ end
6
+ end
@@ -107,4 +107,19 @@ describe 'Payments', vcr: true do
107
107
  expect(quote_payment_fee.payment_type).to eq("regular")
108
108
  expect(quote_payment_fee.charge_type).to be_nil
109
109
  end
110
+
111
+ it "can retrieve #payment_tracking_info" do
112
+ payment_tracking_info = CurrencyCloud::Payment.tracking_info("46ed4827-7b6f-4491-a06f-b548d5a7512d")
113
+
114
+ expect(payment_tracking_info).to be_a(CurrencyCloud::PaymentTrackingInfo)
115
+ expect(payment_tracking_info.uetr).to eq("46ed4827-7b6f-4491-a06f-b548d5a7512d")
116
+ expect(payment_tracking_info.transaction_status["status"]).to eq("processing")
117
+ expect(payment_tracking_info.transaction_status["reason"]).to eq("transferred_and_tracked")
118
+ expect(payment_tracking_info.initiation_time).to eq("2019-07-09T13:20:30+00:00")
119
+ expect(payment_tracking_info.completion_time).to be_nil
120
+ expect(payment_tracking_info.last_update_time).to eq("2019-07-10T15:39:08+00:00")
121
+ expect(payment_tracking_info.payment_events.length).to eq(7)
122
+ expect(payment_tracking_info.payment_events[6]["tracker_event_type"]).to eq("customer_credit_transfer_payment")
123
+ expect(payment_tracking_info.payment_events[6]["instructed_amount"]["amount"]).to eq("745437.57")
124
+ end
110
125
  end
@@ -36,4 +36,12 @@ describe 'Rates', vcr: true do
36
36
  expect(detailed_rate.client_sell_amount).to eq('15234.00')
37
37
  expect(detailed_rate.settlement_cut_off_time).to eq('2015-04-29T14:00:00Z')
38
38
  end
39
+
40
+ it 'can provided #detailed rate with conversion date preference' do
41
+ detailed_rate = CurrencyCloud::Rate.detailed(buy_currency: 'GBP', sell_currency: 'USD', fixed_side: 'buy', amount: '10000', conversion_date_preference: 'optimize_liquidity')
42
+
43
+ expect(detailed_rate).to be_a_kind_of(CurrencyCloud::Rate)
44
+ expect(detailed_rate.client_sell_amount).to eq('14081.00')
45
+ expect(detailed_rate.settlement_cut_off_time).to eq('2020-05-21T14:00:00Z')
46
+ end
39
47
  end
@@ -0,0 +1,69 @@
1
+ require "spec_helper"
2
+
3
+ describe "WithdrawalAccounts", vcr: true do
4
+ before do
5
+ CurrencyCloud.login_id = "development@currencycloud.com"
6
+ CurrencyCloud.api_key = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
7
+ CurrencyCloud.environment = :demonstration
8
+ CurrencyCloud.reset_session
9
+ end
10
+
11
+ it "can find #withdrawal_accounts" do
12
+ withdrawal_accounts = CurrencyCloud::WithdrawalAccount.find(
13
+ account_id: "72970a7c-7921-431c-b95f-3438724ba16f"
14
+ )
15
+ expect(withdrawal_accounts.length).to eq(1)
16
+
17
+ withdrawal_account = withdrawal_accounts[0]
18
+ expect(withdrawal_account).to be_a(CurrencyCloud::WithdrawalAccount)
19
+ expect(withdrawal_account.id).to eq("0886ac00-6ab6-41a6-b0e1-8d3faf2e0de2")
20
+ expect(withdrawal_account.account_name).to eq("currencycloud")
21
+ expect(withdrawal_account.account_holder_name).to eq("The Currency Cloud")
22
+ expect(withdrawal_account.account_holder_dob).to be_nil
23
+ expect(withdrawal_account.routing_code).to eq("123456789")
24
+ expect(withdrawal_account.account_number).to eq("01234567890")
25
+ expect(withdrawal_account.currency).to eq("USD")
26
+ expect(withdrawal_account.account_id).to eq("72970a7c-7921-431c-b95f-3438724ba16f")
27
+ end
28
+
29
+ it "can find #withdrawal_accounts2" do
30
+ withdrawal_accounts = CurrencyCloud::WithdrawalAccount.find()
31
+ expect(withdrawal_accounts.length).to eq(2)
32
+
33
+ withdrawal_account1 = withdrawal_accounts[0]
34
+ expect(withdrawal_account1).to be_a(CurrencyCloud::WithdrawalAccount)
35
+ expect(withdrawal_account1.id).to eq("0886ac00-6ab6-41a6-b0e1-8d3faf2e0de2")
36
+ expect(withdrawal_account1.account_name).to eq("currencycloud")
37
+ expect(withdrawal_account1.account_holder_name).to eq("The Currency Cloud")
38
+ expect(withdrawal_account1.account_holder_dob).to be_nil
39
+ expect(withdrawal_account1.routing_code).to eq("123456789")
40
+ expect(withdrawal_account1.account_number).to eq("01234567890")
41
+ expect(withdrawal_account1.currency).to eq("USD")
42
+ expect(withdrawal_account1.account_id).to eq("72970a7c-7921-431c-b95f-3438724ba16f")
43
+
44
+ withdrawal_account2 = withdrawal_accounts[1]
45
+ expect(withdrawal_account2).to be_a(CurrencyCloud::WithdrawalAccount)
46
+ expect(withdrawal_account2.id).to eq("0886ac00-6ab6-41a6-b0e1-8d3faf2e0de3")
47
+ expect(withdrawal_account2.account_name).to eq("currencycloud2")
48
+ expect(withdrawal_account2.account_holder_name).to eq("The Currency Cloud 2")
49
+ expect(withdrawal_account2.account_holder_dob).to eq("1990-07-20")
50
+ expect(withdrawal_account2.routing_code).to eq("223456789")
51
+ expect(withdrawal_account2.account_number).to eq("01234567892")
52
+ expect(withdrawal_account2.currency).to eq("GBP")
53
+ expect(withdrawal_account2.account_id).to eq("72970a7c-7921-431c-b95f-3438724ba16e")
54
+ end
55
+
56
+ it "can pull funds" do
57
+ withdrawal_account_funds = CurrencyCloud::WithdrawalAccount.pull_funds(
58
+ "0886ac00-6ab6-41a6-b0e1-8d3faf2e0de2",
59
+ reference: "PullFunds1",
60
+ amount: 100.0
61
+ )
62
+ expect(withdrawal_account_funds).to be_a(CurrencyCloud::WithdrawalAccountFunds)
63
+ expect(withdrawal_account_funds.id).to eq("e2e6b7aa-c9e8-4625-96a6-b97d4baab758")
64
+ expect(withdrawal_account_funds.withdrawal_account_id).to eq("0886ac00-6ab6-41a6-b0e1-8d3faf2e0de2")
65
+ expect(withdrawal_account_funds.reference).to eq("PullFunds1")
66
+ expect(withdrawal_account_funds.amount).to eq("100.00")
67
+ expect(withdrawal_account_funds.created_at).to eq("2020-06-29T08:02:31+00:00")
68
+ end
69
+ end
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -58,7 +58,7 @@ http_interactions:
58
58
  X-Auth-Token:
59
59
  - deadbeefdeadbeefdeadbeefdeadbeef
60
60
  User-Agent:
61
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
61
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
62
62
  response:
63
63
  status:
64
64
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -58,7 +58,7 @@ http_interactions:
58
58
  X-Auth-Token:
59
59
  - deadbeefdeadbeefdeadbeefdeadbeef
60
60
  User-Agent:
61
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
61
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
62
62
  response:
63
63
  status:
64
64
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
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/0.16.2
63
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
64
64
  response:
65
65
  status:
66
66
  code: 200
@@ -112,7 +112,7 @@ http_interactions:
112
112
  X-Auth-Token:
113
113
  - deadbeefdeadbeefdeadbeefdeadbeef
114
114
  User-Agent:
115
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
115
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
116
116
  response:
117
117
  status:
118
118
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
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/0.16.2
63
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
64
64
  response:
65
65
  status:
66
66
  code: 200
@@ -112,7 +112,7 @@ http_interactions:
112
112
  X-Auth-Token:
113
113
  - deadbeefdeadbeefdeadbeefdeadbeef
114
114
  User-Agent:
115
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
115
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
116
116
  response:
117
117
  status:
118
118
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -58,7 +58,7 @@ http_interactions:
58
58
  X-Auth-Token:
59
59
  - deadbeefdeadbeefdeadbeefdeadbeef
60
60
  User-Agent:
61
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
61
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
62
62
  response:
63
63
  status:
64
64
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
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/0.16.2
63
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
64
64
  response:
65
65
  status:
66
66
  code: 200
@@ -112,7 +112,7 @@ http_interactions:
112
112
  X-Auth-Token:
113
113
  - deadbeefdeadbeefdeadbeefdeadbeef
114
114
  User-Agent:
115
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
115
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
116
116
  response:
117
117
  status:
118
118
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -37,7 +37,7 @@ http_interactions:
37
37
  X-Auth-Token:
38
38
  - deadbeefdeadbeefdeadbeefdeadbeef
39
39
  User-Agent:
40
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
40
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
41
41
  response:
42
42
  status:
43
43
  code: 200
@@ -66,7 +66,7 @@ http_interactions:
66
66
  X-Auth-Token:
67
67
  - deadbeefdeadbeefdeadbeefdeadbeef
68
68
  User-Agent:
69
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
69
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
70
70
  response:
71
71
  status:
72
72
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -37,7 +37,7 @@ http_interactions:
37
37
  X-Auth-Token:
38
38
  - deadbeefdeadbeefdeadbeefdeadbeef
39
39
  User-Agent:
40
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
40
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
41
41
  response:
42
42
  status:
43
43
  code: 200
@@ -66,7 +66,7 @@ http_interactions:
66
66
  X-Auth-Token:
67
67
  - deadbeefdeadbeefdeadbeefdeadbeef
68
68
  User-Agent:
69
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
69
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
70
70
  response:
71
71
  status:
72
72
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -37,7 +37,7 @@ http_interactions:
37
37
  X-Auth-Token:
38
38
  - deadbeefdeadbeefdeadbeefdeadbeef
39
39
  User-Agent:
40
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
40
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
41
41
  response:
42
42
  status:
43
43
  code: 200
@@ -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/0.16.2
11
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
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/0.16.2
63
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
64
64
  response:
65
65
  status:
66
66
  code: 200
@@ -112,7 +112,7 @@ http_interactions:
112
112
  X-Auth-Token:
113
113
  - deadbeefdeadbeefdeadbeefdeadbeef
114
114
  User-Agent:
115
- - CurrencyCloudSDK/2.0 Ruby/0.16.2
115
+ - CurrencyCloudSDK/2.0 Ruby/0.17.7
116
116
  response:
117
117
  status:
118
118
  code: 200