atrium-ruby 2.10.3 → 2.10.4

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
2
  SHA256:
3
- metadata.gz: 99a3da5e9ec8879851fc9a6849b3ac571cd832815827dcdae950fc4554c10975
4
- data.tar.gz: 1f3ed24ea48fbd3e5d0e86d694e05c7c95dbe471270be61d16731ff80b2bfa47
3
+ metadata.gz: 24f768a257df30ed642e81955431e2c62d941325d38562d83ce265edc09a4f3f
4
+ data.tar.gz: 77435733ff97f63473b2b3973c8fdf6a635f77d786d9dbf63841087b011c6fc5
5
5
  SHA512:
6
- metadata.gz: 165317a25db6638f06115bd95eea06283aafff39b311043591c6377950623ba4dfcbdede757474064f624914fa9863fbb5e15a426476a01907fffe93b25f3c02
7
- data.tar.gz: 831bd4a7b66b64aa7641bf4429dc0265f6d556c3cee28f09226f74430f89c51137fabb3e6adb040bddaf6a7b1b6017d2366f0a01c53bd56abc14a14b6a3a97ec
6
+ metadata.gz: '058a53f0154d39505555539773b2ff9b748f2c9c7bddb2c6f44b8850178dab29e71c44ff81cd83e4d3f408dd2e54474edca17427c849763a4a95a6c26e36f8f4'
7
+ data.tar.gz: 207dd3f3d3fcdb03a7c1fb6bf0c6a9695aeeb070028af3a4357318399fdaad1981c11734b67dd3659a249cd156b80aa08f30085585a851aa755f3203205cd385
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.3.gem
20
+ gem install ./atrium-ruby-2.10.4.gem
21
21
  ```
22
22
 
23
23
  Finally add this to the Gemfile:
24
24
 
25
- gem 'atrium-ruby', '~> 2.10.3'
25
+ gem 'atrium-ruby', '~> 2.10.4'
26
26
 
27
27
  ### Install from Git
28
28
 
data/docs/Account.md CHANGED
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
23
23
  **interest_rate** | **Float** | | [optional]
24
24
  **is_closed** | **BOOLEAN** | | [optional]
25
25
  **last_payment** | **Float** | | [optional]
26
+ **last_payment_at** | **String** | | [optional]
26
27
  **loan_amount** | **Float** | | [optional]
27
28
  **matures_on** | **String** | | [optional]
28
29
  **member_guid** | **String** | | [optional]
@@ -50,6 +50,8 @@ module Atrium
50
50
 
51
51
  attr_accessor :last_payment
52
52
 
53
+ attr_accessor :last_payment_at
54
+
53
55
  attr_accessor :loan_amount
54
56
 
55
57
  attr_accessor :matures_on
@@ -107,6 +109,7 @@ module Atrium
107
109
  :'interest_rate' => :'interest_rate',
108
110
  :'is_closed' => :'is_closed',
109
111
  :'last_payment' => :'last_payment',
112
+ :'last_payment_at' => :'last_payment_at',
110
113
  :'loan_amount' => :'loan_amount',
111
114
  :'matures_on' => :'matures_on',
112
115
  :'member_guid' => :'member_guid',
@@ -150,6 +153,7 @@ module Atrium
150
153
  :'interest_rate' => :'Float',
151
154
  :'is_closed' => :'BOOLEAN',
152
155
  :'last_payment' => :'Float',
156
+ :'last_payment_at' => :'String',
153
157
  :'loan_amount' => :'Float',
154
158
  :'matures_on' => :'String',
155
159
  :'member_guid' => :'String',
@@ -258,6 +262,10 @@ module Atrium
258
262
  self.last_payment = attributes[:'last_payment']
259
263
  end
260
264
 
265
+ if attributes.has_key?(:'last_payment_at')
266
+ self.last_payment_at = attributes[:'last_payment_at']
267
+ end
268
+
261
269
  if attributes.has_key?(:'loan_amount')
262
270
  self.loan_amount = attributes[:'loan_amount']
263
271
  end
@@ -365,6 +373,7 @@ module Atrium
365
373
  interest_rate == o.interest_rate &&
366
374
  is_closed == o.is_closed &&
367
375
  last_payment == o.last_payment &&
376
+ last_payment_at == o.last_payment_at &&
368
377
  loan_amount == o.loan_amount &&
369
378
  matures_on == o.matures_on &&
370
379
  member_guid == o.member_guid &&
@@ -393,7 +402,7 @@ module Atrium
393
402
  # Calculates hash code according to all attributes.
394
403
  # @return [Fixnum] Hash code
395
404
  def 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
405
+ [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, last_payment_at, 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
397
406
  end
398
407
 
399
408
  # Builds the object from hash
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.10.3'
10
+ VERSION = '2.10.4'
11
11
  end
@@ -147,6 +147,12 @@ describe 'Account' do
147
147
  end
148
148
  end
149
149
 
150
+ describe 'test attribute "last_payment_at"' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
150
156
  describe 'test attribute "loan_amount"' do
151
157
  it 'should work' do
152
158
  # 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.10.3
4
+ version: 2.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2021-03-04 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.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
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.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
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.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '3.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.6.0
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.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '3.6'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.6.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -420,7 +420,7 @@ homepage: https://atrium.mx.com
420
420
  licenses:
421
421
  - MIT
422
422
  metadata: {}
423
- post_install_message:
423
+ post_install_message:
424
424
  rdoc_options: []
425
425
  require_paths:
426
426
  - lib
@@ -435,8 +435,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
435
  - !ruby/object:Gem::Version
436
436
  version: '0'
437
437
  requirements: []
438
- rubygems_version: 3.0.4
439
- signing_key:
438
+ rubygems_version: 3.2.3
439
+ signing_key:
440
440
  specification_version: 4
441
441
  summary: Ruby wrapper for the Atrium API by MX
442
442
  test_files: