Skip to content

Commit b13f99f

Browse files
Merge pull request #70 from mxenabled/openapi-generator-0.13.1
Generated version 0.13.1
2 parents be1d74e + 0541a66 commit b13f99f

5 files changed

Lines changed: 21 additions & 3 deletions

File tree

docs/InstitutionResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
77
| **code** | **String** | | [optional] |
8+
| **instructional_text** | **String** | | [optional] |
89
| **medium_logo_url** | **String** | | [optional] |
910
| **name** | **String** | | [optional] |
1011
| **small_logo_url** | **String** | | [optional] |
@@ -22,6 +23,7 @@ require 'mx-platform-ruby'
2223

2324
instance = MxPlatformRuby::InstitutionResponse.new(
2425
code: chase,
26+
instructional_text: Some instructional text <a href="https://example.url.chase.com/instructions" id="instructional_text">for end users</a>.,
2527
medium_logo_url: https://content.moneydesktop.com/storage/MD_Assets/Ipad%20Logos/100x100/default_100x100.png,
2628
name: Chase Bank,
2729
small_logo_url: https://content.moneydesktop.com/storage/MD_Assets/Ipad%20Logos/50x50/default_50x50.png,

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module MxPlatformRuby
1717
class InstitutionResponse
1818
attr_accessor :code
1919

20+
attr_accessor :instructional_text
21+
2022
attr_accessor :medium_logo_url
2123

2224
attr_accessor :name
@@ -39,6 +41,7 @@ class InstitutionResponse
3941
def self.attribute_map
4042
{
4143
:'code' => :'code',
44+
:'instructional_text' => :'instructional_text',
4245
:'medium_logo_url' => :'medium_logo_url',
4346
:'name' => :'name',
4447
:'small_logo_url' => :'small_logo_url',
@@ -60,6 +63,7 @@ def self.acceptable_attributes
6063
def self.openapi_types
6164
{
6265
:'code' => :'String',
66+
:'instructional_text' => :'String',
6367
:'medium_logo_url' => :'String',
6468
:'name' => :'String',
6569
:'small_logo_url' => :'String',
@@ -76,6 +80,7 @@ def self.openapi_types
7680
def self.openapi_nullable
7781
Set.new([
7882
:'code',
83+
:'instructional_text',
7984
:'medium_logo_url',
8085
:'name',
8186
:'small_logo_url',
@@ -107,6 +112,10 @@ def initialize(attributes = {})
107112
self.code = attributes[:'code']
108113
end
109114

115+
if attributes.key?(:'instructional_text')
116+
self.instructional_text = attributes[:'instructional_text']
117+
end
118+
110119
if attributes.key?(:'medium_logo_url')
111120
self.medium_logo_url = attributes[:'medium_logo_url']
112121
end
@@ -163,6 +172,7 @@ def ==(o)
163172
return true if self.equal?(o)
164173
self.class == o.class &&
165174
code == o.code &&
175+
instructional_text == o.instructional_text &&
166176
medium_logo_url == o.medium_logo_url &&
167177
name == o.name &&
168178
small_logo_url == o.small_logo_url &&
@@ -183,7 +193,7 @@ def eql?(o)
183193
# Calculates hash code according to all attributes.
184194
# @return [Integer] Hash code
185195
def hash
186-
[code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
196+
[code, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
187197
end
188198

189199
# 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 = '0.13.0'
14+
VERSION = '0.13.1'
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: 0.13.0
9+
gemVersion: 0.13.1
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/institution_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
end
3232
end
3333

34+
describe 'test attribute "instructional_text"' do
35+
it 'should work' do
36+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37+
end
38+
end
39+
3440
describe 'test attribute "medium_logo_url"' do
3541
it 'should work' do
3642
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers

0 commit comments

Comments
 (0)