From b69e2141caa43cfae092fb44f920ea77c0f08114 Mon Sep 17 00:00:00 2001 From: devexperience Date: Tue, 9 May 2023 19:41:53 +0000 Subject: [PATCH] Generated version 0.17.0 This commit was automatically created by a GitHub Action to generate version 0.17.0 of this library. --- docs/InstitutionResponse.md | 6 ++++ .../models/institution_response.rb | 32 ++++++++++++++++++- lib/mx-platform-ruby/version.rb | 2 +- openapi/config.yml | 2 +- spec/models/institution_response_spec.rb | 18 +++++++++++ 5 files changed, 57 insertions(+), 3 deletions(-) diff --git a/docs/InstitutionResponse.md b/docs/InstitutionResponse.md index f3fbf5b..7ffab5c 100644 --- a/docs/InstitutionResponse.md +++ b/docs/InstitutionResponse.md @@ -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] | @@ -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 @@ -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, @@ -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 ) ``` diff --git a/lib/mx-platform-ruby/models/institution_response.rb b/lib/mx-platform-ruby/models/institution_response.rb index 0117223..03771b4 100644 --- a/lib/mx-platform-ruby/models/institution_response.rb +++ b/lib/mx-platform-ruby/models/institution_response.rb @@ -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 @@ -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', @@ -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 @@ -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', @@ -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 @@ -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', @@ -89,6 +103,7 @@ def self.openapi_nullable :'supports_account_verification', :'supports_oauth', :'supports_transaction_history', + :'trouble_signing_in_url', :'url' ]) end @@ -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 @@ -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 @@ -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 && @@ -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 @@ -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 diff --git a/lib/mx-platform-ruby/version.rb b/lib/mx-platform-ruby/version.rb index ce210d5..b3ac893 100644 --- a/lib/mx-platform-ruby/version.rb +++ b/lib/mx-platform-ruby/version.rb @@ -11,5 +11,5 @@ =end module MxPlatformRuby - VERSION = '0.16.0' + VERSION = '0.17.0' end diff --git a/openapi/config.yml b/openapi/config.yml index 062e02c..d52df76 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -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 diff --git a/spec/models/institution_response_spec.rb b/spec/models/institution_response_spec.rb index 44c3a2a..4f7d2ff 100644 --- a/spec/models/institution_response_spec.rb +++ b/spec/models/institution_response_spec.rb @@ -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 @@ -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