atrium-ruby 2.8.4 → 2.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -2
  3. data/docs/AccountNumber.md +2 -0
  4. data/docs/ConnectWidgetRequestBody.md +1 -0
  5. data/docs/Member.md +1 -0
  6. data/docs/MemberCreateRequest.md +4 -1
  7. data/docs/MembersApi.md +44 -0
  8. data/docs/MerchantLocation.md +17 -0
  9. data/docs/MerchantLocationResponseBody.md +8 -0
  10. data/docs/MerchantLocationsResponseBody.md +9 -0
  11. data/docs/MerchantsApi.md +107 -2
  12. data/docs/MerchantsResponseBody.md +9 -0
  13. data/docs/Transaction.md +1 -0
  14. data/docs/TransactionCleanseAndCategorizeRequest.md +1 -0
  15. data/docs/TransactionCleanseAndCategorizeResponse.md +3 -0
  16. data/lib/atrium-ruby.rb +4 -0
  17. data/lib/atrium-ruby/api/members_api.rb +64 -0
  18. data/lib/atrium-ruby/api/merchants_api.rb +156 -0
  19. data/lib/atrium-ruby/models/account_number.rb +19 -1
  20. data/lib/atrium-ruby/models/connect_widget_request_body.rb +10 -1
  21. data/lib/atrium-ruby/models/member.rb +10 -1
  22. data/lib/atrium-ruby/models/member_create_request.rb +31 -9
  23. data/lib/atrium-ruby/models/merchant_location.rb +260 -0
  24. data/lib/atrium-ruby/models/merchant_location_response_body.rb +179 -0
  25. data/lib/atrium-ruby/models/merchant_locations_response_body.rb +190 -0
  26. data/lib/atrium-ruby/models/merchants_response_body.rb +190 -0
  27. data/lib/atrium-ruby/models/transaction.rb +10 -1
  28. data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_request.rb +10 -1
  29. data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_response.rb +31 -4
  30. data/lib/atrium-ruby/version.rb +1 -1
  31. data/spec/api/members_api_spec.rb +15 -0
  32. data/spec/api/merchants_api_spec.rb +36 -0
  33. data/spec/models/account_number_spec.rb +12 -0
  34. data/spec/models/connect_widget_request_body_spec.rb +6 -0
  35. data/spec/models/member_create_request_spec.rb +18 -0
  36. data/spec/models/member_spec.rb +6 -0
  37. data/spec/models/merchant_location_response_body_spec.rb +36 -0
  38. data/spec/models/merchant_location_spec.rb +90 -0
  39. data/spec/models/merchant_locations_response_body_spec.rb +42 -0
  40. data/spec/models/merchants_response_body_spec.rb +42 -0
  41. data/spec/models/transaction_cleanse_and_categorize_request_spec.rb +6 -0
  42. data/spec/models/transaction_cleanse_and_categorize_response_spec.rb +18 -0
  43. data/spec/models/transaction_spec.rb +6 -0
  44. metadata +18 -2
@@ -63,6 +63,12 @@ describe 'ConnectWidgetRequestBody' do
63
63
  end
64
64
  end
65
65
 
66
+ describe 'test attribute "ui_message_webview_url_scheme"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
66
72
  describe 'test attribute "update_credentials"' do
67
73
  it 'should work' do
68
74
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -39,6 +39,12 @@ describe 'MemberCreateRequest' do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "is_oauth"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
42
48
  describe 'test attribute "institution_code"' do
43
49
  it 'should work' do
44
50
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -51,10 +57,22 @@ describe 'MemberCreateRequest' do
51
57
  end
52
58
  end
53
59
 
60
+ describe 'test attribute "referral_source"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
54
66
  describe 'test attribute "skip_aggregation"' do
55
67
  it 'should work' do
56
68
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
69
  end
58
70
  end
59
71
 
72
+ describe 'test attribute "ui_message_webview_url_scheme"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
60
78
  end
@@ -75,6 +75,12 @@ describe 'Member' do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "oauth_window_uri"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
78
84
  describe 'test attribute "status"' do
79
85
  it 'should work' do
80
86
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #MX API
3
+
4
+ #The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access.
5
+
6
+
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Atrium::MerchantLocationResponseBody
14
+ # Please update as you see appropriate
15
+ describe 'MerchantLocationResponseBody' do
16
+ before do
17
+ # run before each test
18
+ @instance = Atrium::MerchantLocationResponseBody.new
19
+ end
20
+
21
+ after do
22
+ # run after each test
23
+ end
24
+
25
+ describe 'test an instance of MerchantLocationResponseBody' do
26
+ it 'should create an instance of MerchantLocationResponseBody' do
27
+ expect(@instance).to be_instance_of(Atrium::MerchantLocationResponseBody)
28
+ end
29
+ end
30
+ describe 'test attribute "merchant_location"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,90 @@
1
+ =begin
2
+ #MX API
3
+
4
+ #The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access.
5
+
6
+
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Atrium::MerchantLocation
14
+ # Please update as you see appropriate
15
+ describe 'MerchantLocation' do
16
+ before do
17
+ # run before each test
18
+ @instance = Atrium::MerchantLocation.new
19
+ end
20
+
21
+ after do
22
+ # run after each test
23
+ end
24
+
25
+ describe 'test an instance of MerchantLocation' do
26
+ it 'should create an instance of MerchantLocation' do
27
+ expect(@instance).to be_instance_of(Atrium::MerchantLocation)
28
+ end
29
+ end
30
+ describe 'test attribute "city"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "guid"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "latitude"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "longitude"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "merchant_guid"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "phone_number"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "postal_code"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "state"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "store_number"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "street_address"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
90
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #MX API
3
+
4
+ #The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access.
5
+
6
+
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Atrium::MerchantLocationsResponseBody
14
+ # Please update as you see appropriate
15
+ describe 'MerchantLocationsResponseBody' do
16
+ before do
17
+ # run before each test
18
+ @instance = Atrium::MerchantLocationsResponseBody.new
19
+ end
20
+
21
+ after do
22
+ # run after each test
23
+ end
24
+
25
+ describe 'test an instance of MerchantLocationsResponseBody' do
26
+ it 'should create an instance of MerchantLocationsResponseBody' do
27
+ expect(@instance).to be_instance_of(Atrium::MerchantLocationsResponseBody)
28
+ end
29
+ end
30
+ describe 'test attribute "merchant_locations"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "pagination"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #MX API
3
+
4
+ #The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access.
5
+
6
+
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Atrium::MerchantsResponseBody
14
+ # Please update as you see appropriate
15
+ describe 'MerchantsResponseBody' do
16
+ before do
17
+ # run before each test
18
+ @instance = Atrium::MerchantsResponseBody.new
19
+ end
20
+
21
+ after do
22
+ # run after each test
23
+ end
24
+
25
+ describe 'test an instance of MerchantsResponseBody' do
26
+ it 'should create an instance of MerchantsResponseBody' do
27
+ expect(@instance).to be_instance_of(Atrium::MerchantsResponseBody)
28
+ end
29
+ end
30
+ describe 'test attribute "merchants"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "pagination"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
+ end
40
+ end
41
+
42
+ end
@@ -45,6 +45,12 @@ describe 'TransactionCleanseAndCategorizeRequest' do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "merchant_category_code"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
48
54
  describe 'test attribute "type"' do
49
55
  it 'should work' do
50
56
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -105,4 +105,22 @@ describe 'TransactionCleanseAndCategorizeResponse' do
105
105
  end
106
106
  end
107
107
 
108
+ describe 'test attribute "merchant_category_code"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "merchant_guid"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "original_description"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+
108
126
  end
@@ -135,6 +135,12 @@ describe 'Transaction' do
135
135
  end
136
136
  end
137
137
 
138
+ describe 'test attribute "is_subscription"' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
141
+ end
142
+ end
143
+
138
144
  describe 'test attribute "latitude"' do
139
145
  it 'should work' do
140
146
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atrium-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.4
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -244,8 +244,12 @@ files:
244
244
  - docs/MembersApi.md
245
245
  - docs/MembersResponseBody.md
246
246
  - docs/Merchant.md
247
+ - docs/MerchantLocation.md
248
+ - docs/MerchantLocationResponseBody.md
249
+ - docs/MerchantLocationsResponseBody.md
247
250
  - docs/MerchantResponseBody.md
248
251
  - docs/MerchantsApi.md
252
+ - docs/MerchantsResponseBody.md
249
253
  - docs/Pagination.md
250
254
  - docs/Statement.md
251
255
  - docs/StatementResponseBody.md
@@ -319,7 +323,11 @@ files:
319
323
  - lib/atrium-ruby/models/member_update_request_body.rb
320
324
  - lib/atrium-ruby/models/members_response_body.rb
321
325
  - lib/atrium-ruby/models/merchant.rb
326
+ - lib/atrium-ruby/models/merchant_location.rb
327
+ - lib/atrium-ruby/models/merchant_location_response_body.rb
328
+ - lib/atrium-ruby/models/merchant_locations_response_body.rb
322
329
  - lib/atrium-ruby/models/merchant_response_body.rb
330
+ - lib/atrium-ruby/models/merchants_response_body.rb
323
331
  - lib/atrium-ruby/models/pagination.rb
324
332
  - lib/atrium-ruby/models/statement.rb
325
333
  - lib/atrium-ruby/models/statement_response_body.rb
@@ -385,8 +393,12 @@ files:
385
393
  - spec/models/member_update_request_body_spec.rb
386
394
  - spec/models/member_update_request_spec.rb
387
395
  - spec/models/members_response_body_spec.rb
396
+ - spec/models/merchant_location_response_body_spec.rb
397
+ - spec/models/merchant_location_spec.rb
398
+ - spec/models/merchant_locations_response_body_spec.rb
388
399
  - spec/models/merchant_response_body_spec.rb
389
400
  - spec/models/merchant_spec.rb
401
+ - spec/models/merchants_response_body_spec.rb
390
402
  - spec/models/pagination_spec.rb
391
403
  - spec/models/statement_response_body_spec.rb
392
404
  - spec/models/statement_spec.rb
@@ -452,10 +464,12 @@ test_files:
452
464
  - spec/models/challenge_option_spec.rb
453
465
  - spec/models/connect_widget_request_body_spec.rb
454
466
  - spec/models/challenge_image_option_spec.rb
467
+ - spec/models/merchant_locations_response_body_spec.rb
455
468
  - spec/models/institution_spec.rb
456
469
  - spec/models/credential_option_spec.rb
457
470
  - spec/models/statements_response_body_spec.rb
458
471
  - spec/models/account_number_spec.rb
472
+ - spec/models/merchant_location_response_body_spec.rb
459
473
  - spec/models/members_response_body_spec.rb
460
474
  - spec/models/transactions_response_body_spec.rb
461
475
  - spec/models/transactions_cleanse_and_categorize_response_body_spec.rb
@@ -463,6 +477,7 @@ test_files:
463
477
  - spec/models/institution_response_body_spec.rb
464
478
  - spec/models/institutions_response_body_spec.rb
465
479
  - spec/models/holding_response_body_spec.rb
480
+ - spec/models/merchants_response_body_spec.rb
466
481
  - spec/models/member_resume_request_spec.rb
467
482
  - spec/models/challenges_response_body_spec.rb
468
483
  - spec/models/account_numbers_response_body_spec.rb
@@ -481,6 +496,7 @@ test_files:
481
496
  - spec/models/statement_response_body_spec.rb
482
497
  - spec/models/user_create_request_body_spec.rb
483
498
  - spec/models/user_update_request_body_spec.rb
499
+ - spec/models/merchant_location_spec.rb
484
500
  - spec/models/merchant_spec.rb
485
501
  - spec/models/transaction_cleanse_and_categorize_response_spec.rb
486
502
  - spec/models/member_connection_status_response_body_spec.rb