atrium-ruby 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 18efce902d5a2379e7ad3891b4f154e4179c9523
4
- data.tar.gz: 4c32ae6fbc45830ae49f62e3a7c4240d54fef9e6
2
+ SHA256:
3
+ metadata.gz: b61584c4cf1fa5bff782505d7acc26017dfd3cfeaa003432204da843460e59a8
4
+ data.tar.gz: 452a85cfcdb58b62029ac1d4a54cf66a5fc5386a2882795dd2791b7a9bfc63bf
5
5
  SHA512:
6
- metadata.gz: 2b783444cccada0dfc73dee846ced031930c34ef978818876b356f3c5eb5b71eed91dfe9b400e19fe8e60b0d5cffb076b37baeb5893c8499a5611fbe66dc2d2d
7
- data.tar.gz: 14e0fbc11f2a3a76a05ec61c342da689761ebbe721026017de79fedda3caff12b295a4384ddbad1ce7de7fae644c5c740d22c2bb2cbb776dec6a0be515542f70
6
+ metadata.gz: d16026d814889c105f26db2dc61f6e25a31b9f33c0325eee4c2f6e5e3481db8b14c4383239f25aa2d695ba2a50f6a2ba1d5ff346596579c28ddb97ffe1cc1edc
7
+ data.tar.gz: 6868070e547fa38f21eb885c18ad8cbfdb334836ca47bdfe367651e689fd2082c37e4d39f464b99e3b5f164916b2201978afbb13f0d9560f94c7fa9eb1a7e1df
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.5.0.gem
20
+ gem install ./atrium-ruby-2.6.0.gem
21
21
  ```
22
22
 
23
23
  Finally add this to the Gemfile:
24
24
 
25
- gem 'atrium-ruby', '~> 2.5.0'
25
+ gem 'atrium-ruby', '~> 2.6.0'
26
26
 
27
27
  ### Install from Git
28
28
 
@@ -102,7 +102,7 @@ Class | Method | HTTP request | Description
102
102
  *Atrium::StatementsApi* | [**fetch_statements**](docs/StatementsApi.md#fetch_statements) | **POST** /users/{user_guid}/members/{member_guid}/fetch_statements | Fetch statements
103
103
  *Atrium::StatementsApi* | [**list_member_statements**](docs/StatementsApi.md#list_member_statements) | **GET** /users/{user_guid}/members/{member_guid}/statements | List member statements
104
104
  *Atrium::StatementsApi* | [**read_member_statement**](docs/StatementsApi.md#read_member_statement) | **GET** /users/{user_guid}/members/{member_guid}/statements/{statement_guid} | Read statement JSON
105
- *Atrium::TransactionsApi* | [**cleanse_and_categorize_transactions**](docs/TransactionsApi.md#cleanse_and_categorize_transactions) | **POST** /cleanse_and_categorize | Categorize transactions
105
+ *Atrium::TransactionsApi* | [**cleanse_and_categorize_transactions**](docs/TransactionsApi.md#cleanse_and_categorize_transactions) | **POST** /transactions/cleanse_and_categorize | Categorize transactions
106
106
  *Atrium::TransactionsApi* | [**list_user_transactions**](docs/TransactionsApi.md#list_user_transactions) | **GET** /users/{user_guid}/transactions | List transactions for a user
107
107
  *Atrium::TransactionsApi* | [**read_transaction**](docs/TransactionsApi.md#read_transaction) | **GET** /users/{user_guid}/transactions/{transaction_guid} | Read a transaction
108
108
  *Atrium::UsersApi* | [**create_user**](docs/UsersApi.md#create_user) | **POST** /users | Create user
@@ -8,15 +8,20 @@ Name | Type | Description | Notes
8
8
  **available_balance** | **Float** | | [optional]
9
9
  **available_credit** | **Float** | | [optional]
10
10
  **balance** | **Float** | | [optional]
11
+ **cash_balance** | **Float** | | [optional]
12
+ **cash_surrender_value** | **Float** | | [optional]
11
13
  **created_at** | **String** | | [optional]
12
14
  **credit_limit** | **Float** | | [optional]
13
15
  **currency_code** | **String** | | [optional]
14
16
  **day_payment_is_due** | **Integer** | | [optional]
17
+ **death_benefit** | **Float** | | [optional]
15
18
  **guid** | **String** | | [optional]
19
+ **holdings_value** | **Float** | | [optional]
16
20
  **institution_code** | **String** | | [optional]
17
21
  **interest_rate** | **Float** | | [optional]
18
22
  **is_closed** | **BOOLEAN** | | [optional]
19
23
  **last_payment** | **Float** | | [optional]
24
+ **loan_amount** | **Float** | | [optional]
20
25
  **matures_on** | **String** | | [optional]
21
26
  **member_guid** | **String** | | [optional]
22
27
  **minimum_balance** | **Float** | | [optional]
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
26
26
  **member_guid** | **String** | | [optional]
27
27
  **memo** | **String** | | [optional]
28
28
  **merchant_category_code** | **Integer** | | [optional]
29
+ **merchant_guid** | **String** | | [optional]
29
30
  **original_description** | **String** | | [optional]
30
31
  **posted_at** | **String** | | [optional]
31
32
  **status** | **String** | | [optional]
@@ -2,7 +2,7 @@
2
2
 
3
3
  Method | HTTP request | Description
4
4
  ------------- | ------------- | -------------
5
- [**cleanse_and_categorize_transactions**](TransactionsApi.md#cleanse_and_categorize_transactions) | **POST** /cleanse_and_categorize | Categorize transactions
5
+ [**cleanse_and_categorize_transactions**](TransactionsApi.md#cleanse_and_categorize_transactions) | **POST** /transactions/cleanse_and_categorize | Categorize transactions
6
6
  [**list_user_transactions**](TransactionsApi.md#list_user_transactions) | **GET** /users/{user_guid}/transactions | List transactions for a user
7
7
  [**read_transaction**](TransactionsApi.md#read_transaction) | **GET** /users/{user_guid}/transactions/{transaction_guid} | Read a transaction
8
8
 
@@ -67,7 +67,7 @@ module Atrium
67
67
  fail ArgumentError, "Missing the required parameter 'body' when calling TransactionsApi.cleanse_and_categorize_transactions"
68
68
  end
69
69
  # resource path
70
- local_var_path = '/cleanse_and_categorize'
70
+ local_var_path = '/transactions/cleanse_and_categorize'
71
71
 
72
72
  # query parameters
73
73
  query_params = {}
@@ -20,6 +20,10 @@ module Atrium
20
20
 
21
21
  attr_accessor :balance
22
22
 
23
+ attr_accessor :cash_balance
24
+
25
+ attr_accessor :cash_surrender_value
26
+
23
27
  attr_accessor :created_at
24
28
 
25
29
  attr_accessor :credit_limit
@@ -28,8 +32,12 @@ module Atrium
28
32
 
29
33
  attr_accessor :day_payment_is_due
30
34
 
35
+ attr_accessor :death_benefit
36
+
31
37
  attr_accessor :guid
32
38
 
39
+ attr_accessor :holdings_value
40
+
33
41
  attr_accessor :institution_code
34
42
 
35
43
  attr_accessor :interest_rate
@@ -38,6 +46,8 @@ module Atrium
38
46
 
39
47
  attr_accessor :last_payment
40
48
 
49
+ attr_accessor :loan_amount
50
+
41
51
  attr_accessor :matures_on
42
52
 
43
53
  attr_accessor :member_guid
@@ -74,15 +84,20 @@ module Atrium
74
84
  :'available_balance' => :'available_balance',
75
85
  :'available_credit' => :'available_credit',
76
86
  :'balance' => :'balance',
87
+ :'cash_balance' => :'cash_balance',
88
+ :'cash_surrender_value' => :'cash_surrender_value',
77
89
  :'created_at' => :'created_at',
78
90
  :'credit_limit' => :'credit_limit',
79
91
  :'currency_code' => :'currency_code',
80
92
  :'day_payment_is_due' => :'day_payment_is_due',
93
+ :'death_benefit' => :'death_benefit',
81
94
  :'guid' => :'guid',
95
+ :'holdings_value' => :'holdings_value',
82
96
  :'institution_code' => :'institution_code',
83
97
  :'interest_rate' => :'interest_rate',
84
98
  :'is_closed' => :'is_closed',
85
99
  :'last_payment' => :'last_payment',
100
+ :'loan_amount' => :'loan_amount',
86
101
  :'matures_on' => :'matures_on',
87
102
  :'member_guid' => :'member_guid',
88
103
  :'minimum_balance' => :'minimum_balance',
@@ -108,15 +123,20 @@ module Atrium
108
123
  :'available_balance' => :'Float',
109
124
  :'available_credit' => :'Float',
110
125
  :'balance' => :'Float',
126
+ :'cash_balance' => :'Float',
127
+ :'cash_surrender_value' => :'Float',
111
128
  :'created_at' => :'String',
112
129
  :'credit_limit' => :'Float',
113
130
  :'currency_code' => :'String',
114
131
  :'day_payment_is_due' => :'Integer',
132
+ :'death_benefit' => :'Float',
115
133
  :'guid' => :'String',
134
+ :'holdings_value' => :'Float',
116
135
  :'institution_code' => :'String',
117
136
  :'interest_rate' => :'Float',
118
137
  :'is_closed' => :'BOOLEAN',
119
138
  :'last_payment' => :'Float',
139
+ :'loan_amount' => :'Float',
120
140
  :'matures_on' => :'String',
121
141
  :'member_guid' => :'String',
122
142
  :'minimum_balance' => :'Float',
@@ -162,6 +182,14 @@ module Atrium
162
182
  self.balance = attributes[:'balance']
163
183
  end
164
184
 
185
+ if attributes.has_key?(:'cash_balance')
186
+ self.cash_balance = attributes[:'cash_balance']
187
+ end
188
+
189
+ if attributes.has_key?(:'cash_surrender_value')
190
+ self.cash_surrender_value = attributes[:'cash_surrender_value']
191
+ end
192
+
165
193
  if attributes.has_key?(:'created_at')
166
194
  self.created_at = attributes[:'created_at']
167
195
  end
@@ -178,10 +206,18 @@ module Atrium
178
206
  self.day_payment_is_due = attributes[:'day_payment_is_due']
179
207
  end
180
208
 
209
+ if attributes.has_key?(:'death_benefit')
210
+ self.death_benefit = attributes[:'death_benefit']
211
+ end
212
+
181
213
  if attributes.has_key?(:'guid')
182
214
  self.guid = attributes[:'guid']
183
215
  end
184
216
 
217
+ if attributes.has_key?(:'holdings_value')
218
+ self.holdings_value = attributes[:'holdings_value']
219
+ end
220
+
185
221
  if attributes.has_key?(:'institution_code')
186
222
  self.institution_code = attributes[:'institution_code']
187
223
  end
@@ -198,6 +234,10 @@ module Atrium
198
234
  self.last_payment = attributes[:'last_payment']
199
235
  end
200
236
 
237
+ if attributes.has_key?(:'loan_amount')
238
+ self.loan_amount = attributes[:'loan_amount']
239
+ end
240
+
201
241
  if attributes.has_key?(:'matures_on')
202
242
  self.matures_on = attributes[:'matures_on']
203
243
  end
@@ -278,15 +318,20 @@ module Atrium
278
318
  available_balance == o.available_balance &&
279
319
  available_credit == o.available_credit &&
280
320
  balance == o.balance &&
321
+ cash_balance == o.cash_balance &&
322
+ cash_surrender_value == o.cash_surrender_value &&
281
323
  created_at == o.created_at &&
282
324
  credit_limit == o.credit_limit &&
283
325
  currency_code == o.currency_code &&
284
326
  day_payment_is_due == o.day_payment_is_due &&
327
+ death_benefit == o.death_benefit &&
285
328
  guid == o.guid &&
329
+ holdings_value == o.holdings_value &&
286
330
  institution_code == o.institution_code &&
287
331
  interest_rate == o.interest_rate &&
288
332
  is_closed == o.is_closed &&
289
333
  last_payment == o.last_payment &&
334
+ loan_amount == o.loan_amount &&
290
335
  matures_on == o.matures_on &&
291
336
  member_guid == o.member_guid &&
292
337
  minimum_balance == o.minimum_balance &&
@@ -312,7 +357,7 @@ module Atrium
312
357
  # Calculates hash code according to all attributes.
313
358
  # @return [Fixnum] Hash code
314
359
  def hash
315
- [apr, apy, available_balance, available_credit, balance, created_at, credit_limit, currency_code, day_payment_is_due, guid, institution_code, interest_rate, is_closed, last_payment, 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
360
+ [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
316
361
  end
317
362
 
318
363
  # Builds the object from hash
@@ -56,6 +56,8 @@ module Atrium
56
56
 
57
57
  attr_accessor :merchant_category_code
58
58
 
59
+ attr_accessor :merchant_guid
60
+
59
61
  attr_accessor :original_description
60
62
 
61
63
  attr_accessor :posted_at
@@ -98,6 +100,7 @@ module Atrium
98
100
  :'member_guid' => :'member_guid',
99
101
  :'memo' => :'memo',
100
102
  :'merchant_category_code' => :'merchant_category_code',
103
+ :'merchant_guid' => :'merchant_guid',
101
104
  :'original_description' => :'original_description',
102
105
  :'posted_at' => :'posted_at',
103
106
  :'status' => :'status',
@@ -135,6 +138,7 @@ module Atrium
135
138
  :'member_guid' => :'String',
136
139
  :'memo' => :'String',
137
140
  :'merchant_category_code' => :'Integer',
141
+ :'merchant_guid' => :'String',
138
142
  :'original_description' => :'String',
139
143
  :'posted_at' => :'String',
140
144
  :'status' => :'String',
@@ -246,6 +250,10 @@ module Atrium
246
250
  self.merchant_category_code = attributes[:'merchant_category_code']
247
251
  end
248
252
 
253
+ if attributes.has_key?(:'merchant_guid')
254
+ self.merchant_guid = attributes[:'merchant_guid']
255
+ end
256
+
249
257
  if attributes.has_key?(:'original_description')
250
258
  self.original_description = attributes[:'original_description']
251
259
  end
@@ -320,6 +328,7 @@ module Atrium
320
328
  member_guid == o.member_guid &&
321
329
  memo == o.memo &&
322
330
  merchant_category_code == o.merchant_category_code &&
331
+ merchant_guid == o.merchant_guid &&
323
332
  original_description == o.original_description &&
324
333
  posted_at == o.posted_at &&
325
334
  status == o.status &&
@@ -339,7 +348,7 @@ module Atrium
339
348
  # Calculates hash code according to all attributes.
340
349
  # @return [Fixnum] Hash code
341
350
  def hash
342
- [account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, latitude, longitude, member_guid, memo, merchant_category_code, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
351
+ [account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, latitude, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
343
352
  end
344
353
 
345
354
  # Builds the object from hash
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.5.0'
10
+ VERSION = '2.6.0'
11
11
  end
@@ -57,6 +57,18 @@ describe 'Account' do
57
57
  end
58
58
  end
59
59
 
60
+ describe 'test attribute "cash_balance"' 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 "cash_surrender_value"' 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
+
60
72
  describe 'test attribute "created_at"' do
61
73
  it 'should work' do
62
74
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -81,12 +93,24 @@ describe 'Account' do
81
93
  end
82
94
  end
83
95
 
96
+ describe 'test attribute "death_benefit"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
84
102
  describe 'test attribute "guid"' do
85
103
  it 'should work' do
86
104
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
105
  end
88
106
  end
89
107
 
108
+ describe 'test attribute "holdings_value"' 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
+
90
114
  describe 'test attribute "institution_code"' do
91
115
  it 'should work' do
92
116
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -111,6 +135,12 @@ describe 'Account' do
111
135
  end
112
136
  end
113
137
 
138
+ describe 'test attribute "loan_amount"' 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
+
114
144
  describe 'test attribute "matures_on"' do
115
145
  it 'should work' do
116
146
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -165,6 +165,12 @@ describe 'Transaction' do
165
165
  end
166
166
  end
167
167
 
168
+ describe 'test attribute "merchant_guid"' do
169
+ it 'should work' do
170
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
171
+ end
172
+ end
173
+
168
174
  describe 'test attribute "original_description"' do
169
175
  it 'should work' do
170
176
  # 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.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-22 00:00:00.000000000 Z
11
+ date: 2019-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 2.1.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 2.1.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.6'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 3.6.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.6'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 3.6.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.6'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -419,8 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
419
419
  - !ruby/object:Gem::Version
420
420
  version: '0'
421
421
  requirements: []
422
- rubyforge_project:
423
- rubygems_version: 2.6.14
422
+ rubygems_version: 3.0.4
424
423
  signing_key:
425
424
  specification_version: 4
426
425
  summary: Ruby wrapper for the Atrium API by MX