Skip to content

Commit

Permalink
Generated version 0.17.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.17.0 of this library.
  • Loading branch information
devexperience committed May 9, 2023
1 parent 962501a commit b69e214
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/InstitutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **code** | **String** | | [optional] |
| **forgot_password_url** | **String** | | [optional] |
| **forgot_username_url** | **String** | | [optional] |
| **instructional_text** | **String** | | [optional] |
| **medium_logo_url** | **String** | | [optional] |
| **name** | **String** | | [optional] |
Expand All @@ -14,6 +16,7 @@
| **supports_account_verification** | **Boolean** | | [optional] |
| **supports_oauth** | **Boolean** | | [optional] |
| **supports_transaction_history** | **Boolean** | | [optional] |
| **trouble_signing_in_url** | **String** | | [optional] |
| **url** | **String** | | [optional] |

## Example
Expand All @@ -23,6 +26,8 @@ require 'mx-platform-ruby'

instance = MxPlatformRuby::InstitutionResponse.new(
code: chase,
forgot_password_url: https://example.url.chase.com/forgot-password,
forgot_username_url: https://example.url.chase.com/forgot-username,
instructional_text: Some instructional text <a href="https://example.url.chase.com/instructions" id="instructional_text">for end users</a>.,
medium_logo_url: https://content.moneydesktop.com/storage/MD_Assets/Ipad%20Logos/100x100/default_100x100.png,
name: Chase Bank,
Expand All @@ -32,6 +37,7 @@ instance = MxPlatformRuby::InstitutionResponse.new(
supports_account_verification: true,
supports_oauth: true,
supports_transaction_history: true,
trouble_signing_in_url: https://example.url.chase.com/login-trouble,
url: https://www.chase.com
)
```
Expand Down
32 changes: 31 additions & 1 deletion lib/mx-platform-ruby/models/institution_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ module MxPlatformRuby
class InstitutionResponse
attr_accessor :code

attr_accessor :forgot_password_url

attr_accessor :forgot_username_url

attr_accessor :instructional_text

attr_accessor :medium_logo_url
Expand All @@ -35,12 +39,16 @@ class InstitutionResponse

attr_accessor :supports_transaction_history

attr_accessor :trouble_signing_in_url

attr_accessor :url

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'code' => :'code',
:'forgot_password_url' => :'forgot_password_url',
:'forgot_username_url' => :'forgot_username_url',
:'instructional_text' => :'instructional_text',
:'medium_logo_url' => :'medium_logo_url',
:'name' => :'name',
Expand All @@ -50,6 +58,7 @@ def self.attribute_map
:'supports_account_verification' => :'supports_account_verification',
:'supports_oauth' => :'supports_oauth',
:'supports_transaction_history' => :'supports_transaction_history',
:'trouble_signing_in_url' => :'trouble_signing_in_url',
:'url' => :'url'
}
end
Expand All @@ -63,6 +72,8 @@ def self.acceptable_attributes
def self.openapi_types
{
:'code' => :'String',
:'forgot_password_url' => :'String',
:'forgot_username_url' => :'String',
:'instructional_text' => :'String',
:'medium_logo_url' => :'String',
:'name' => :'String',
Expand All @@ -72,6 +83,7 @@ def self.openapi_types
:'supports_account_verification' => :'Boolean',
:'supports_oauth' => :'Boolean',
:'supports_transaction_history' => :'Boolean',
:'trouble_signing_in_url' => :'String',
:'url' => :'String'
}
end
Expand All @@ -80,6 +92,8 @@ def self.openapi_types
def self.openapi_nullable
Set.new([
:'code',
:'forgot_password_url',
:'forgot_username_url',
:'instructional_text',
:'medium_logo_url',
:'name',
Expand All @@ -89,6 +103,7 @@ def self.openapi_nullable
:'supports_account_verification',
:'supports_oauth',
:'supports_transaction_history',
:'trouble_signing_in_url',
:'url'
])
end
Expand All @@ -112,6 +127,14 @@ def initialize(attributes = {})
self.code = attributes[:'code']
end

if attributes.key?(:'forgot_password_url')
self.forgot_password_url = attributes[:'forgot_password_url']
end

if attributes.key?(:'forgot_username_url')
self.forgot_username_url = attributes[:'forgot_username_url']
end

if attributes.key?(:'instructional_text')
self.instructional_text = attributes[:'instructional_text']
end
Expand Down Expand Up @@ -148,6 +171,10 @@ def initialize(attributes = {})
self.supports_transaction_history = attributes[:'supports_transaction_history']
end

if attributes.key?(:'trouble_signing_in_url')
self.trouble_signing_in_url = attributes[:'trouble_signing_in_url']
end

if attributes.key?(:'url')
self.url = attributes[:'url']
end
Expand All @@ -172,6 +199,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
code == o.code &&
forgot_password_url == o.forgot_password_url &&
forgot_username_url == o.forgot_username_url &&
instructional_text == o.instructional_text &&
medium_logo_url == o.medium_logo_url &&
name == o.name &&
Expand All @@ -181,6 +210,7 @@ def ==(o)
supports_account_verification == o.supports_account_verification &&
supports_oauth == o.supports_oauth &&
supports_transaction_history == o.supports_transaction_history &&
trouble_signing_in_url == o.trouble_signing_in_url &&
url == o.url
end

Expand All @@ -193,7 +223,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[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
[code, forgot_password_url, forgot_username_url, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, trouble_signing_in_url, url].hash
end

# Builds the object from hash
Expand Down
2 changes: 1 addition & 1 deletion lib/mx-platform-ruby/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module MxPlatformRuby
VERSION = '0.16.0'
VERSION = '0.17.0'
end
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
gemLicense: MIT
gemName: mx-platform-ruby
gemRequiredRubyVersion: ">= 2.6"
gemVersion: 0.16.0
gemVersion: 0.17.0
library: faraday
moduleName: MxPlatformRuby
18 changes: 18 additions & 0 deletions spec/models/institution_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
end
end

describe 'test attribute "forgot_password_url"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

describe 'test attribute "forgot_username_url"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

describe 'test attribute "instructional_text"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
Expand Down Expand Up @@ -85,6 +97,12 @@
end
end

describe 'test attribute "trouble_signing_in_url"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

describe 'test attribute "url"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
Expand Down

0 comments on commit b69e214

Please sign in to comment.