mx-platform-ruby 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/AccountResponse.md +2 -0
- data/lib/mx-platform-ruby/models/account_response.rb +11 -1
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/models/account_response_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e61add8014e4af8eddee3d7ecff72bb5cbfa5181e92e3e21a056adb4fb0d6c79
|
4
|
+
data.tar.gz: 4bc80c1a991ac8766bbb826733a6cfdfc71076c8c50f795d54591ed5f623614b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba096840fc12b092ab449afb51d8a74f4d999e9781725192149cf006c8a7fd3fb69e86612f4ff7ead4e025f1b61f2bf503fc6522c0012dfedaec401bb8b1132f
|
7
|
+
data.tar.gz: 991548fa8e30d1a434bd67de2e3ab4c8fdeb7a8e8ce96c0ca19b1ee3482ab91e182a9044face58c8dab0aa0e210bfe30d8fe03d0e37f87339c6cfd8a3f2b5ebb
|
data/Gemfile.lock
CHANGED
data/docs/AccountResponse.md
CHANGED
@@ -52,6 +52,7 @@
|
|
52
52
|
| **property_type** | **String** | | [optional] |
|
53
53
|
| **routing_number** | **String** | | [optional] |
|
54
54
|
| **started_on** | **String** | | [optional] |
|
55
|
+
| **statement_balance** | **Float** | | [optional] |
|
55
56
|
| **subtype** | **String** | | [optional] |
|
56
57
|
| **today_ugl_amount** | **Float** | | [optional] |
|
57
58
|
| **today_ugl_percentage** | **Float** | | [optional] |
|
@@ -116,6 +117,7 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
116
117
|
property_type: VEHICLE,
|
117
118
|
routing_number: 68899990000000,
|
118
119
|
started_on: 2015-10-13T17:57:37.000Z,
|
120
|
+
statement_balance: 100.1,
|
119
121
|
subtype: NONE,
|
120
122
|
today_ugl_amount: 1000.5,
|
121
123
|
today_ugl_percentage: 6.9,
|
@@ -111,6 +111,8 @@ module MxPlatformRuby
|
|
111
111
|
|
112
112
|
attr_accessor :started_on
|
113
113
|
|
114
|
+
attr_accessor :statement_balance
|
115
|
+
|
114
116
|
attr_accessor :subtype
|
115
117
|
|
116
118
|
attr_accessor :today_ugl_amount
|
@@ -180,6 +182,7 @@ module MxPlatformRuby
|
|
180
182
|
:'property_type' => :'property_type',
|
181
183
|
:'routing_number' => :'routing_number',
|
182
184
|
:'started_on' => :'started_on',
|
185
|
+
:'statement_balance' => :'statement_balance',
|
183
186
|
:'subtype' => :'subtype',
|
184
187
|
:'today_ugl_amount' => :'today_ugl_amount',
|
185
188
|
:'today_ugl_percentage' => :'today_ugl_percentage',
|
@@ -248,6 +251,7 @@ module MxPlatformRuby
|
|
248
251
|
:'property_type' => :'String',
|
249
252
|
:'routing_number' => :'String',
|
250
253
|
:'started_on' => :'String',
|
254
|
+
:'statement_balance' => :'Float',
|
251
255
|
:'subtype' => :'String',
|
252
256
|
:'today_ugl_amount' => :'Float',
|
253
257
|
:'today_ugl_percentage' => :'Float',
|
@@ -310,6 +314,7 @@ module MxPlatformRuby
|
|
310
314
|
:'property_type',
|
311
315
|
:'routing_number',
|
312
316
|
:'started_on',
|
317
|
+
:'statement_balance',
|
313
318
|
:'subtype',
|
314
319
|
:'today_ugl_amount',
|
315
320
|
:'today_ugl_percentage',
|
@@ -529,6 +534,10 @@ module MxPlatformRuby
|
|
529
534
|
self.started_on = attributes[:'started_on']
|
530
535
|
end
|
531
536
|
|
537
|
+
if attributes.key?(:'statement_balance')
|
538
|
+
self.statement_balance = attributes[:'statement_balance']
|
539
|
+
end
|
540
|
+
|
532
541
|
if attributes.key?(:'subtype')
|
533
542
|
self.subtype = attributes[:'subtype']
|
534
543
|
end
|
@@ -634,6 +643,7 @@ module MxPlatformRuby
|
|
634
643
|
property_type == o.property_type &&
|
635
644
|
routing_number == o.routing_number &&
|
636
645
|
started_on == o.started_on &&
|
646
|
+
statement_balance == o.statement_balance &&
|
637
647
|
subtype == o.subtype &&
|
638
648
|
today_ugl_amount == o.today_ugl_amount &&
|
639
649
|
today_ugl_percentage == o.today_ugl_percentage &&
|
@@ -654,7 +664,7 @@ module MxPlatformRuby
|
|
654
664
|
# Calculates hash code according to all attributes.
|
655
665
|
# @return [Integer] Hash code
|
656
666
|
def hash
|
657
|
-
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, 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, id, imported_at, institution_code, insured_name, interest_rate, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, total_account_value_ugl, type, updated_at, user_guid, user_id].hash
|
667
|
+
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, 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, id, imported_at, institution_code, insured_name, interest_rate, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type, routing_number, started_on, statement_balance, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, total_account_value_ugl, type, updated_at, user_guid, user_id].hash
|
658
668
|
end
|
659
669
|
|
660
670
|
# Builds the object from hash
|
data/openapi/config.yml
CHANGED
@@ -313,6 +313,12 @@ describe MxPlatformRuby::AccountResponse do
|
|
313
313
|
end
|
314
314
|
end
|
315
315
|
|
316
|
+
describe 'test attribute "statement_balance"' do
|
317
|
+
it 'should work' do
|
318
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
316
322
|
describe 'test attribute "subtype"' do
|
317
323
|
it 'should work' do
|
318
324
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|