transferzero-sdk 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,13 +14,13 @@ require 'date'
14
14
 
15
15
  module TransferZero
16
16
  class SenderState
17
+ INCOMPLETE = "incomplete".freeze
17
18
  INITIAL = "initial".freeze
18
19
  VERIFIED = "verified".freeze
19
20
  APPROVED = "approved".freeze
20
21
  BANNED = "banned".freeze
21
22
  REJECTED = "rejected".freeze
22
23
  DISABLED = "disabled".freeze
23
- INCOMPLETE = "incomplete".freeze
24
24
 
25
25
  # Builds the enum from string
26
26
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.5.0'
14
+ VERSION = '1.6.0'
15
15
  end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayinMethodDetailsBTC
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayinMethodDetailsBTC' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayinMethodDetailsBTC.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayinMethodDetailsBTC' do
31
+ it 'should create an instance of PayinMethodDetailsBTC' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayinMethodDetailsBTC)
33
+ end
34
+ end
35
+ describe 'test attribute "refund_address"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsBTC
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsBTC' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsBTC.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsBTC' do
31
+ it 'should create an instance of PayoutMethodDetailsBTC' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsBTC)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "last_name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "name"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "address"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PoliticallyExposedPerson
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PoliticallyExposedPerson' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PoliticallyExposedPerson.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PoliticallyExposedPerson' do
31
+ it 'should create an instance of PoliticallyExposedPerson' do
32
+ expect(@instance).to be_instance_of(TransferZero::PoliticallyExposedPerson)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "position"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "started_date"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "ended_date"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "sender_id"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "created_at"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "updated_at"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferzero-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-18 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -251,6 +251,7 @@ files:
251
251
  - docs/PaginationMeta.md
252
252
  - docs/PayinMethod.md
253
253
  - docs/PayinMethodDetails.md
254
+ - docs/PayinMethodDetailsBTC.md
254
255
  - docs/PayinMethodDetailsMobile.md
255
256
  - docs/PayinMethodDetailsNGNBank.md
256
257
  - docs/PayinMethodRequest.md
@@ -261,6 +262,7 @@ files:
261
262
  - docs/PayoutMethod.md
262
263
  - docs/PayoutMethodBankAccountTypeEnum.md
263
264
  - docs/PayoutMethodDetails.md
265
+ - docs/PayoutMethodDetailsBTC.md
264
266
  - docs/PayoutMethodDetailsBalance.md
265
267
  - docs/PayoutMethodDetailsGHSBank.md
266
268
  - docs/PayoutMethodDetailsIBAN.md
@@ -277,6 +279,7 @@ files:
277
279
  - docs/PayoutMethodResponse.md
278
280
  - docs/PayoutMethodWebhook.md
279
281
  - docs/PayoutMethodsApi.md
282
+ - docs/PoliticallyExposedPerson.md
280
283
  - docs/Recipient.md
281
284
  - docs/RecipientListResponse.md
282
285
  - docs/RecipientRequest.md
@@ -371,6 +374,7 @@ files:
371
374
  - lib/transferzero-sdk/models/pagination_meta.rb
372
375
  - lib/transferzero-sdk/models/payin_method.rb
373
376
  - lib/transferzero-sdk/models/payin_method_details.rb
377
+ - lib/transferzero-sdk/models/payin_method_details_btc.rb
374
378
  - lib/transferzero-sdk/models/payin_method_details_mobile.rb
375
379
  - lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb
376
380
  - lib/transferzero-sdk/models/payin_method_request.rb
@@ -381,6 +385,7 @@ files:
381
385
  - lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
382
386
  - lib/transferzero-sdk/models/payout_method_details.rb
383
387
  - lib/transferzero-sdk/models/payout_method_details_balance.rb
388
+ - lib/transferzero-sdk/models/payout_method_details_btc.rb
384
389
  - lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
385
390
  - lib/transferzero-sdk/models/payout_method_details_iban.rb
386
391
  - lib/transferzero-sdk/models/payout_method_details_mad_cash.rb
@@ -395,6 +400,7 @@ files:
395
400
  - lib/transferzero-sdk/models/payout_method_request.rb
396
401
  - lib/transferzero-sdk/models/payout_method_response.rb
397
402
  - lib/transferzero-sdk/models/payout_method_webhook.rb
403
+ - lib/transferzero-sdk/models/politically_exposed_person.rb
398
404
  - lib/transferzero-sdk/models/recipient.rb
399
405
  - lib/transferzero-sdk/models/recipient_list_response.rb
400
406
  - lib/transferzero-sdk/models/recipient_request.rb
@@ -479,6 +485,7 @@ files:
479
485
  - spec/models/field_validation_spec.rb
480
486
  - spec/models/pagination_meta_spec.rb
481
487
  - spec/models/pagination_spec.rb
488
+ - spec/models/payin_method_details_btc_spec.rb
482
489
  - spec/models/payin_method_details_mobile_spec.rb
483
490
  - spec/models/payin_method_details_ngn_bank_spec.rb
484
491
  - spec/models/payin_method_details_spec.rb
@@ -489,6 +496,7 @@ files:
489
496
  - spec/models/payment_method_spec.rb
490
497
  - spec/models/payout_method_bank_account_type_enum_spec.rb
491
498
  - spec/models/payout_method_details_balance_spec.rb
499
+ - spec/models/payout_method_details_btc_spec.rb
492
500
  - spec/models/payout_method_details_ghs_bank_spec.rb
493
501
  - spec/models/payout_method_details_iban_spec.rb
494
502
  - spec/models/payout_method_details_mad_cash_spec.rb
@@ -505,6 +513,7 @@ files:
505
513
  - spec/models/payout_method_response_spec.rb
506
514
  - spec/models/payout_method_spec.rb
507
515
  - spec/models/payout_method_webhook_spec.rb
516
+ - spec/models/politically_exposed_person_spec.rb
508
517
  - spec/models/recipient_list_response_spec.rb
509
518
  - spec/models/recipient_request_spec.rb
510
519
  - spec/models/recipient_response_spec.rb
@@ -542,7 +551,6 @@ files:
542
551
  - spec/models/webhook_log_spec.rb
543
552
  - spec/models/webhook_spec.rb
544
553
  - spec/spec_helper.rb
545
- - transferzero-sdk-1.4.0.gem
546
554
  - transferzero-sdk.gemspec
547
555
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
548
556
  licenses:
@@ -563,7 +571,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
563
571
  - !ruby/object:Gem::Version
564
572
  version: '0'
565
573
  requirements: []
566
- rubygems_version: 3.0.3
574
+ rubygems_version: 3.0.6
567
575
  signing_key:
568
576
  specification_version: 4
569
577
  summary: TransferZero API Ruby Gem
@@ -596,6 +604,7 @@ test_files:
596
604
  - spec/models/debit_response_spec.rb
597
605
  - spec/models/webhook_definition_event_list_response_spec.rb
598
606
  - spec/models/debit_spec.rb
607
+ - spec/models/payin_method_details_btc_spec.rb
599
608
  - spec/models/transaction_response_meta_spec.rb
600
609
  - spec/models/transaction_traits_spec.rb
601
610
  - spec/models/account_spec.rb
@@ -617,6 +626,7 @@ test_files:
617
626
  - spec/models/payin_method_details_mobile_spec.rb
618
627
  - spec/models/payout_method_details_mad_cash_spec.rb
619
628
  - spec/models/account_validation_response_spec.rb
629
+ - spec/models/payout_method_details_btc_spec.rb
620
630
  - spec/models/api_log_spec.rb
621
631
  - spec/models/document_response_spec.rb
622
632
  - spec/models/currency_exchange_list_response_spec.rb
@@ -675,6 +685,7 @@ test_files:
675
685
  - spec/models/sender_list_response_spec.rb
676
686
  - spec/models/field_description_spec.rb
677
687
  - spec/models/currency_exchange_spec.rb
688
+ - spec/models/politically_exposed_person_spec.rb
678
689
  - spec/models/payin_method_details_spec.rb
679
690
  - spec/models/account_validation_error_spec.rb
680
691
  - spec/spec_helper.rb
Binary file