atrium-ruby 2.8.1 → 2.8.2

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: 152984203631845c88dfdb1bf1e111be9dddd92467b5a53b1306305559c66776
4
- data.tar.gz: 423f05d269fca91e10b70d211ad48dbc229b05692dcbf9bbcd0229d04f9ecc67
3
+ metadata.gz: 5354c77611aa59ed63baceac567d99611f04a264e1486bb5934edd6563c375c8
4
+ data.tar.gz: b8a46376e3634120c74727138b77c323bba2504525b48c4150a4e8fa3bfcf764
5
5
  SHA512:
6
- metadata.gz: b3e1e32adf77f6afd7813cffe53790b021a5ee69fb841b4317d12e0bcb20efc191779be2406f4f1ae37d18ba340625612b805803a4086a14b6e729f020e279e0
7
- data.tar.gz: ccd8f28358447c3d04133471b50196d2b04ef338e388f8183e20d5c55c7fbf16628342d85afd273c5c93673dcac5a7e67ba7d172eabed11a2a335369522e47de
6
+ metadata.gz: cc41bd51dc06d220283912e81e8b0a199ac5690900edf030a434b396a31f25f17030dd48b06126fb28da1c238e661b4bcd5bdbf9c32a4f047d231cf4ab37d008
7
+ data.tar.gz: bc3ec824fd9c7accfb39e87a32c4cbfa68fa24db084a1f2d65bfff097b10fd9736267ae6f78a6a547e8e8cf0300fb025e3959e2a61777c38cadaf410d88c8955
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.8.1.gem
20
+ gem install ./atrium-ruby-2.8.2.gem
21
21
  ```
22
22
 
23
23
  Finally add this to the Gemfile:
24
24
 
25
- gem 'atrium-ruby', '~> 2.8.1'
25
+ gem 'atrium-ruby', '~> 2.8.2'
26
26
 
27
27
  ### Install from Git
28
28
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **account_number** | **String** | | [optional]
6
7
  **apr** | **Float** | | [optional]
7
8
  **apy** | **Float** | | [optional]
8
9
  **available_balance** | **Float** | | [optional]
@@ -10,6 +10,8 @@ require 'date'
10
10
 
11
11
  module Atrium
12
12
  class Account
13
+ attr_accessor :account_number
14
+
13
15
  attr_accessor :apr
14
16
 
15
17
  attr_accessor :apy
@@ -79,6 +81,7 @@ module Atrium
79
81
  # Attribute mapping from ruby-style variable name to JSON key.
80
82
  def self.attribute_map
81
83
  {
84
+ :'account_number' => :'account_number',
82
85
  :'apr' => :'apr',
83
86
  :'apy' => :'apy',
84
87
  :'available_balance' => :'available_balance',
@@ -118,6 +121,7 @@ module Atrium
118
121
  # Attribute type mapping.
119
122
  def self.mx_types
120
123
  {
124
+ :'account_number' => :'String',
121
125
  :'apr' => :'Float',
122
126
  :'apy' => :'Float',
123
127
  :'available_balance' => :'Float',
@@ -162,6 +166,10 @@ module Atrium
162
166
  # convert string to symbol for hash key
163
167
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
164
168
 
169
+ if attributes.has_key?(:'account_number')
170
+ self.account_number = attributes[:'account_number']
171
+ end
172
+
165
173
  if attributes.has_key?(:'apr')
166
174
  self.apr = attributes[:'apr']
167
175
  end
@@ -313,6 +321,7 @@ module Atrium
313
321
  def ==(o)
314
322
  return true if self.equal?(o)
315
323
  self.class == o.class &&
324
+ account_number == o.account_number &&
316
325
  apr == o.apr &&
317
326
  apy == o.apy &&
318
327
  available_balance == o.available_balance &&
@@ -357,7 +366,7 @@ module Atrium
357
366
  # Calculates hash code according to all attributes.
358
367
  # @return [Fixnum] Hash code
359
368
  def 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
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
361
370
  end
362
371
 
363
372
  # Builds the object from hash
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.8.1'
10
+ VERSION = '2.8.2'
11
11
  end
@@ -27,6 +27,12 @@ describe 'Account' do
27
27
  expect(@instance).to be_instance_of(Atrium::Account)
28
28
  end
29
29
  end
30
+ describe 'test attribute "account_number"' 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
+
30
36
  describe 'test attribute "apr"' do
31
37
  it 'should work' do
32
38
  # 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.1
4
+ version: 2.8.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-10-17 00:00:00.000000000 Z
11
+ date: 2019-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus