atrium-ruby 2.10.2 → 2.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/Account.md +3 -0
- data/docs/ConnectWidgetRequestBody.md +3 -0
- data/lib/atrium-ruby/models/account.rb +28 -1
- data/lib/atrium-ruby/models/connect_widget_request_body.rb +31 -4
- data/lib/atrium-ruby/version.rb +1 -1
- data/spec/models/account_spec.rb +18 -0
- data/spec/models/connect_widget_request_body_spec.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99a3da5e9ec8879851fc9a6849b3ac571cd832815827dcdae950fc4554c10975
|
4
|
+
data.tar.gz: 1f3ed24ea48fbd3e5d0e86d694e05c7c95dbe471270be61d16731ff80b2bfa47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165317a25db6638f06115bd95eea06283aafff39b311043591c6377950623ba4dfcbdede757474064f624914fa9863fbb5e15a426476a01907fffe93b25f3c02
|
7
|
+
data.tar.gz: 831bd4a7b66b64aa7641bf4429dc0265f6d556c3cee28f09226f74430f89c51137fabb3e6adb040bddaf6a7b1b6017d2366f0a01c53bd56abc14a14b6a3a97ec
|
data/README.md
CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
|
|
17
17
|
Then either install the gem locally:
|
18
18
|
|
19
19
|
```shell
|
20
|
-
gem install ./atrium-ruby-2.10.
|
20
|
+
gem install ./atrium-ruby-2.10.3.gem
|
21
21
|
```
|
22
22
|
|
23
23
|
Finally add this to the Gemfile:
|
24
24
|
|
25
|
-
gem 'atrium-ruby', '~> 2.10.
|
25
|
+
gem 'atrium-ruby', '~> 2.10.3'
|
26
26
|
|
27
27
|
### Install from Git
|
28
28
|
|
data/docs/Account.md
CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**death_benefit** | **Float** | | [optional]
|
19
19
|
**guid** | **String** | | [optional]
|
20
20
|
**holdings_value** | **Float** | | [optional]
|
21
|
+
**insured_name** | **String** | | [optional]
|
21
22
|
**institution_code** | **String** | | [optional]
|
22
23
|
**interest_rate** | **Float** | | [optional]
|
23
24
|
**is_closed** | **BOOLEAN** | | [optional]
|
@@ -31,6 +32,8 @@ Name | Type | Description | Notes
|
|
31
32
|
**original_balance** | **Float** | | [optional]
|
32
33
|
**payment_due_at** | **String** | | [optional]
|
33
34
|
**payoff_balance** | **Float** | | [optional]
|
35
|
+
**pay_out_amount** | **Float** | | [optional]
|
36
|
+
**premium_amount** | **Float** | | [optional]
|
34
37
|
**started_on** | **String** | | [optional]
|
35
38
|
**subtype** | **String** | | [optional]
|
36
39
|
**total_account_value** | **Float** | | [optional]
|
@@ -4,12 +4,15 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**is_mobile_webview** | **BOOLEAN** | | [optional]
|
7
|
+
**color_scheme** | **String** | | [optional]
|
7
8
|
**current_institution_code** | **String** | | [optional]
|
8
9
|
**current_member_guid** | **String** | | [optional]
|
9
10
|
**disable_institution_search** | **BOOLEAN** | | [optional]
|
11
|
+
**include_transactions** | **BOOLEAN** | | [optional]
|
10
12
|
**mode** | **String** | | [optional]
|
11
13
|
**ui_message_version** | **Float** | | [optional]
|
12
14
|
**ui_message_webview_url_scheme** | **String** | | [optional]
|
13
15
|
**update_credentials** | **BOOLEAN** | | [optional]
|
16
|
+
**wait_for_full_aggregation** | **BOOLEAN** | | [optional]
|
14
17
|
|
15
18
|
|
@@ -40,6 +40,8 @@ module Atrium
|
|
40
40
|
|
41
41
|
attr_accessor :holdings_value
|
42
42
|
|
43
|
+
attr_accessor :insured_name
|
44
|
+
|
43
45
|
attr_accessor :institution_code
|
44
46
|
|
45
47
|
attr_accessor :interest_rate
|
@@ -66,6 +68,10 @@ module Atrium
|
|
66
68
|
|
67
69
|
attr_accessor :payoff_balance
|
68
70
|
|
71
|
+
attr_accessor :pay_out_amount
|
72
|
+
|
73
|
+
attr_accessor :premium_amount
|
74
|
+
|
69
75
|
attr_accessor :started_on
|
70
76
|
|
71
77
|
attr_accessor :subtype
|
@@ -96,6 +102,7 @@ module Atrium
|
|
96
102
|
:'death_benefit' => :'death_benefit',
|
97
103
|
:'guid' => :'guid',
|
98
104
|
:'holdings_value' => :'holdings_value',
|
105
|
+
:'insured_name' => :'insured_name',
|
99
106
|
:'institution_code' => :'institution_code',
|
100
107
|
:'interest_rate' => :'interest_rate',
|
101
108
|
:'is_closed' => :'is_closed',
|
@@ -109,6 +116,8 @@ module Atrium
|
|
109
116
|
:'original_balance' => :'original_balance',
|
110
117
|
:'payment_due_at' => :'payment_due_at',
|
111
118
|
:'payoff_balance' => :'payoff_balance',
|
119
|
+
:'pay_out_amount' => :'pay_out_amount',
|
120
|
+
:'premium_amount' => :'premium_amount',
|
112
121
|
:'started_on' => :'started_on',
|
113
122
|
:'subtype' => :'subtype',
|
114
123
|
:'total_account_value' => :'total_account_value',
|
@@ -136,6 +145,7 @@ module Atrium
|
|
136
145
|
:'death_benefit' => :'Float',
|
137
146
|
:'guid' => :'String',
|
138
147
|
:'holdings_value' => :'Float',
|
148
|
+
:'insured_name' => :'String',
|
139
149
|
:'institution_code' => :'String',
|
140
150
|
:'interest_rate' => :'Float',
|
141
151
|
:'is_closed' => :'BOOLEAN',
|
@@ -149,6 +159,8 @@ module Atrium
|
|
149
159
|
:'original_balance' => :'Float',
|
150
160
|
:'payment_due_at' => :'String',
|
151
161
|
:'payoff_balance' => :'Float',
|
162
|
+
:'pay_out_amount' => :'Float',
|
163
|
+
:'premium_amount' => :'Float',
|
152
164
|
:'started_on' => :'String',
|
153
165
|
:'subtype' => :'String',
|
154
166
|
:'total_account_value' => :'Float',
|
@@ -226,6 +238,10 @@ module Atrium
|
|
226
238
|
self.holdings_value = attributes[:'holdings_value']
|
227
239
|
end
|
228
240
|
|
241
|
+
if attributes.has_key?(:'insured_name')
|
242
|
+
self.insured_name = attributes[:'insured_name']
|
243
|
+
end
|
244
|
+
|
229
245
|
if attributes.has_key?(:'institution_code')
|
230
246
|
self.institution_code = attributes[:'institution_code']
|
231
247
|
end
|
@@ -278,6 +294,14 @@ module Atrium
|
|
278
294
|
self.payoff_balance = attributes[:'payoff_balance']
|
279
295
|
end
|
280
296
|
|
297
|
+
if attributes.has_key?(:'pay_out_amount')
|
298
|
+
self.pay_out_amount = attributes[:'pay_out_amount']
|
299
|
+
end
|
300
|
+
|
301
|
+
if attributes.has_key?(:'premium_amount')
|
302
|
+
self.premium_amount = attributes[:'premium_amount']
|
303
|
+
end
|
304
|
+
|
281
305
|
if attributes.has_key?(:'started_on')
|
282
306
|
self.started_on = attributes[:'started_on']
|
283
307
|
end
|
@@ -336,6 +360,7 @@ module Atrium
|
|
336
360
|
death_benefit == o.death_benefit &&
|
337
361
|
guid == o.guid &&
|
338
362
|
holdings_value == o.holdings_value &&
|
363
|
+
insured_name == o.insured_name &&
|
339
364
|
institution_code == o.institution_code &&
|
340
365
|
interest_rate == o.interest_rate &&
|
341
366
|
is_closed == o.is_closed &&
|
@@ -349,6 +374,8 @@ module Atrium
|
|
349
374
|
original_balance == o.original_balance &&
|
350
375
|
payment_due_at == o.payment_due_at &&
|
351
376
|
payoff_balance == o.payoff_balance &&
|
377
|
+
pay_out_amount == o.pay_out_amount &&
|
378
|
+
premium_amount == o.premium_amount &&
|
352
379
|
started_on == o.started_on &&
|
353
380
|
subtype == o.subtype &&
|
354
381
|
total_account_value == o.total_account_value &&
|
@@ -366,7 +393,7 @@ module Atrium
|
|
366
393
|
# Calculates hash code according to all attributes.
|
367
394
|
# @return [Fixnum] Hash code
|
368
395
|
def hash
|
369
|
-
[account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, institution_code, interest_rate, is_closed, last_payment, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, started_on, subtype, total_account_value, type, updated_at, user_guid].hash
|
396
|
+
[account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, insured_name, institution_code, interest_rate, is_closed, last_payment, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, pay_out_amount, premium_amount, started_on, subtype, total_account_value, type, updated_at, user_guid].hash
|
370
397
|
end
|
371
398
|
|
372
399
|
# Builds the object from hash
|
@@ -12,12 +12,16 @@ module Atrium
|
|
12
12
|
class ConnectWidgetRequestBody
|
13
13
|
attr_accessor :is_mobile_webview
|
14
14
|
|
15
|
+
attr_accessor :color_scheme
|
16
|
+
|
15
17
|
attr_accessor :current_institution_code
|
16
18
|
|
17
19
|
attr_accessor :current_member_guid
|
18
20
|
|
19
21
|
attr_accessor :disable_institution_search
|
20
22
|
|
23
|
+
attr_accessor :include_transactions
|
24
|
+
|
21
25
|
attr_accessor :mode
|
22
26
|
|
23
27
|
attr_accessor :ui_message_version
|
@@ -26,17 +30,22 @@ module Atrium
|
|
26
30
|
|
27
31
|
attr_accessor :update_credentials
|
28
32
|
|
33
|
+
attr_accessor :wait_for_full_aggregation
|
34
|
+
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
32
38
|
:'is_mobile_webview' => :'is_mobile_webview',
|
39
|
+
:'color_scheme' => :'color_scheme',
|
33
40
|
:'current_institution_code' => :'current_institution_code',
|
34
41
|
:'current_member_guid' => :'current_member_guid',
|
35
42
|
:'disable_institution_search' => :'disable_institution_search',
|
43
|
+
:'include_transactions' => :'include_transactions',
|
36
44
|
:'mode' => :'mode',
|
37
45
|
:'ui_message_version' => :'ui_message_version',
|
38
46
|
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
|
39
|
-
:'update_credentials' => :'update_credentials'
|
47
|
+
:'update_credentials' => :'update_credentials',
|
48
|
+
:'wait_for_full_aggregation' => :'wait_for_full_aggregation'
|
40
49
|
}
|
41
50
|
end
|
42
51
|
|
@@ -44,13 +53,16 @@ module Atrium
|
|
44
53
|
def self.mx_types
|
45
54
|
{
|
46
55
|
:'is_mobile_webview' => :'BOOLEAN',
|
56
|
+
:'color_scheme' => :'String',
|
47
57
|
:'current_institution_code' => :'String',
|
48
58
|
:'current_member_guid' => :'String',
|
49
59
|
:'disable_institution_search' => :'BOOLEAN',
|
60
|
+
:'include_transactions' => :'BOOLEAN',
|
50
61
|
:'mode' => :'String',
|
51
62
|
:'ui_message_version' => :'Float',
|
52
63
|
:'ui_message_webview_url_scheme' => :'String',
|
53
|
-
:'update_credentials' => :'BOOLEAN'
|
64
|
+
:'update_credentials' => :'BOOLEAN',
|
65
|
+
:'wait_for_full_aggregation' => :'BOOLEAN'
|
54
66
|
}
|
55
67
|
end
|
56
68
|
|
@@ -66,6 +78,10 @@ module Atrium
|
|
66
78
|
self.is_mobile_webview = attributes[:'is_mobile_webview']
|
67
79
|
end
|
68
80
|
|
81
|
+
if attributes.has_key?(:'color_scheme')
|
82
|
+
self.color_scheme = attributes[:'color_scheme']
|
83
|
+
end
|
84
|
+
|
69
85
|
if attributes.has_key?(:'current_institution_code')
|
70
86
|
self.current_institution_code = attributes[:'current_institution_code']
|
71
87
|
end
|
@@ -78,6 +94,10 @@ module Atrium
|
|
78
94
|
self.disable_institution_search = attributes[:'disable_institution_search']
|
79
95
|
end
|
80
96
|
|
97
|
+
if attributes.has_key?(:'include_transactions')
|
98
|
+
self.include_transactions = attributes[:'include_transactions']
|
99
|
+
end
|
100
|
+
|
81
101
|
if attributes.has_key?(:'mode')
|
82
102
|
self.mode = attributes[:'mode']
|
83
103
|
end
|
@@ -93,6 +113,10 @@ module Atrium
|
|
93
113
|
if attributes.has_key?(:'update_credentials')
|
94
114
|
self.update_credentials = attributes[:'update_credentials']
|
95
115
|
end
|
116
|
+
|
117
|
+
if attributes.has_key?(:'wait_for_full_aggregation')
|
118
|
+
self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
|
119
|
+
end
|
96
120
|
end
|
97
121
|
|
98
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -114,13 +138,16 @@ module Atrium
|
|
114
138
|
return true if self.equal?(o)
|
115
139
|
self.class == o.class &&
|
116
140
|
is_mobile_webview == o.is_mobile_webview &&
|
141
|
+
color_scheme == o.color_scheme &&
|
117
142
|
current_institution_code == o.current_institution_code &&
|
118
143
|
current_member_guid == o.current_member_guid &&
|
119
144
|
disable_institution_search == o.disable_institution_search &&
|
145
|
+
include_transactions == o.include_transactions &&
|
120
146
|
mode == o.mode &&
|
121
147
|
ui_message_version == o.ui_message_version &&
|
122
148
|
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
|
123
|
-
update_credentials == o.update_credentials
|
149
|
+
update_credentials == o.update_credentials &&
|
150
|
+
wait_for_full_aggregation == o.wait_for_full_aggregation
|
124
151
|
end
|
125
152
|
|
126
153
|
# @see the `==` method
|
@@ -132,7 +159,7 @@ module Atrium
|
|
132
159
|
# Calculates hash code according to all attributes.
|
133
160
|
# @return [Fixnum] Hash code
|
134
161
|
def hash
|
135
|
-
[is_mobile_webview, current_institution_code, current_member_guid, disable_institution_search, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials].hash
|
162
|
+
[is_mobile_webview, color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials, wait_for_full_aggregation].hash
|
136
163
|
end
|
137
164
|
|
138
165
|
# Builds the object from hash
|
data/lib/atrium-ruby/version.rb
CHANGED
data/spec/models/account_spec.rb
CHANGED
@@ -117,6 +117,12 @@ describe 'Account' do
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
+
describe 'test attribute "insured_name"' 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
|
+
|
120
126
|
describe 'test attribute "institution_code"' do
|
121
127
|
it 'should work' do
|
122
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -195,6 +201,18 @@ describe 'Account' do
|
|
195
201
|
end
|
196
202
|
end
|
197
203
|
|
204
|
+
describe 'test attribute "pay_out_amount"' do
|
205
|
+
it 'should work' do
|
206
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
describe 'test attribute "premium_amount"' do
|
211
|
+
it 'should work' do
|
212
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
198
216
|
describe 'test attribute "started_on"' do
|
199
217
|
it 'should work' do
|
200
218
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -33,6 +33,12 @@ describe 'ConnectWidgetRequestBody' do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "color_scheme"' 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
|
+
|
36
42
|
describe 'test attribute "current_institution_code"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -51,6 +57,12 @@ describe 'ConnectWidgetRequestBody' do
|
|
51
57
|
end
|
52
58
|
end
|
53
59
|
|
60
|
+
describe 'test attribute "include_transactions"' 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 "mode"' do
|
55
67
|
it 'should work' do
|
56
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -75,4 +87,10 @@ describe 'ConnectWidgetRequestBody' do
|
|
75
87
|
end
|
76
88
|
end
|
77
89
|
|
90
|
+
describe 'test attribute "wait_for_full_aggregation"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
78
96
|
end
|
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.10.
|
4
|
+
version: 2.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|