Skip to content

Commit dce0524

Browse files
author
devexperience
committed
Generated version 1.2.0
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
1 parent 437b1d5 commit dce0524

5 files changed

Lines changed: 21 additions & 3 deletions

File tree

docs/MemberResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7+
| **actionable_error** | **String** | | [optional] |
78
| **aggregated_at** | **String** | | [optional] |
89
| **background_aggregation_is_disabled** | **Boolean** | | [optional] |
910
| **connection_status** | **String** | | [optional] |
@@ -30,6 +31,7 @@
3031
require 'mx-platform-ruby'
3132

3233
instance = MxPlatformRuby::MemberResponse.new(
34+
actionable_error: {\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"},
3335
aggregated_at: 2016-10-13T18:07:57.000Z,
3436
background_aggregation_is_disabled: false,
3537
connection_status: CONNECTED,

lib/mx-platform-ruby/models/member_response.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
module MxPlatformRuby
1717
class MemberResponse
18+
attr_accessor :actionable_error
19+
1820
attr_accessor :aggregated_at
1921

2022
attr_accessor :background_aggregation_is_disabled
@@ -56,6 +58,7 @@ class MemberResponse
5658
# Attribute mapping from ruby-style variable name to JSON key.
5759
def self.attribute_map
5860
{
61+
:'actionable_error' => :'actionable_error',
5962
:'aggregated_at' => :'aggregated_at',
6063
:'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
6164
:'connection_status' => :'connection_status',
@@ -86,6 +89,7 @@ def self.acceptable_attributes
8689
# Attribute type mapping.
8790
def self.openapi_types
8891
{
92+
:'actionable_error' => :'String',
8993
:'aggregated_at' => :'String',
9094
:'background_aggregation_is_disabled' => :'Boolean',
9195
:'connection_status' => :'String',
@@ -111,6 +115,7 @@ def self.openapi_types
111115
# List of attributes with nullable: true
112116
def self.openapi_nullable
113117
Set.new([
118+
:'actionable_error',
114119
:'aggregated_at',
115120
:'connection_status',
116121
:'guid',
@@ -147,6 +152,10 @@ def initialize(attributes = {})
147152
h[k.to_sym] = v
148153
}
149154

155+
if attributes.key?(:'actionable_error')
156+
self.actionable_error = attributes[:'actionable_error']
157+
end
158+
150159
if attributes.key?(:'aggregated_at')
151160
self.aggregated_at = attributes[:'aggregated_at']
152161
end
@@ -246,6 +255,7 @@ def valid?
246255
def ==(o)
247256
return true if self.equal?(o)
248257
self.class == o.class &&
258+
actionable_error == o.actionable_error &&
249259
aggregated_at == o.aggregated_at &&
250260
background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
251261
connection_status == o.connection_status &&
@@ -276,7 +286,7 @@ def eql?(o)
276286
# Calculates hash code according to all attributes.
277287
# @return [Integer] Hash code
278288
def hash
279-
[aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, use_cases, user_guid, user_id].hash
289+
[actionable_error, aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, use_cases, user_guid, user_id].hash
280290
end
281291

282292
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '1.1.0'
14+
VERSION = '1.2.0'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 1.1.0
9+
gemVersion: 1.2.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/member_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
end
2828
end
2929

30+
describe 'test attribute "actionable_error"' do
31+
it 'should work' do
32+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33+
end
34+
end
35+
3036
describe 'test attribute "aggregated_at"' do
3137
it 'should work' do
3238
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)