Skip to content

Commit

Permalink
Generated version 0.28.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.28.0 of this library.
  • Loading branch information
devexperience committed May 2, 2024
1 parent 629ac99 commit 318b353
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/WidgetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| **disable_institution_search** | **Boolean** | | [optional] |
| **include_identity** | **Boolean** | | [optional] |
| **include_transactions** | **Boolean** | | [optional] |
| **insight_guid** | **String** | | [optional] |
| **is_mobile_webview** | **Boolean** | | [optional] |
| **microwidget_instance_id** | **String** | | [optional] |
| **mode** | **String** | | [optional] |
Expand All @@ -37,8 +38,9 @@ instance = MxPlatformRuby::WidgetRequest.new(
disable_institution_search: false,
include_identity: false,
include_transactions: true,
insight_guid: BET-1234,
is_mobile_webview: false,
microwidget_instance_id: false,
microwidget_instance_id: accounts_page,
mode: aggregation,
oauth_referral_source: BROWSER,
ui_message_version: 4,
Expand Down
11 changes: 10 additions & 1 deletion lib/mx-platform-ruby/models/widget_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class WidgetRequest

attr_accessor :include_transactions

attr_accessor :insight_guid

attr_accessor :is_mobile_webview

attr_accessor :microwidget_instance_id
Expand Down Expand Up @@ -61,6 +63,7 @@ def self.attribute_map
:'disable_institution_search' => :'disable_institution_search',
:'include_identity' => :'include_identity',
:'include_transactions' => :'include_transactions',
:'insight_guid' => :'insight_guid',
:'is_mobile_webview' => :'is_mobile_webview',
:'microwidget_instance_id' => :'microwidget_instance_id',
:'mode' => :'mode',
Expand Down Expand Up @@ -89,6 +92,7 @@ def self.openapi_types
:'disable_institution_search' => :'Boolean',
:'include_identity' => :'Boolean',
:'include_transactions' => :'Boolean',
:'insight_guid' => :'String',
:'is_mobile_webview' => :'Boolean',
:'microwidget_instance_id' => :'String',
:'mode' => :'String',
Expand Down Expand Up @@ -157,6 +161,10 @@ def initialize(attributes = {})
self.include_transactions = attributes[:'include_transactions']
end

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

if attributes.key?(:'is_mobile_webview')
self.is_mobile_webview = attributes[:'is_mobile_webview']
end
Expand Down Expand Up @@ -226,6 +234,7 @@ def ==(o)
disable_institution_search == o.disable_institution_search &&
include_identity == o.include_identity &&
include_transactions == o.include_transactions &&
insight_guid == o.insight_guid &&
is_mobile_webview == o.is_mobile_webview &&
microwidget_instance_id == o.microwidget_instance_id &&
mode == o.mode &&
Expand All @@ -245,7 +254,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_background_agg, disable_institution_search, include_identity, include_transactions, is_mobile_webview, microwidget_instance_id, mode, oauth_referral_source, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].hash
[client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_background_agg, disable_institution_search, include_identity, include_transactions, insight_guid, is_mobile_webview, microwidget_instance_id, mode, oauth_referral_source, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].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.27.0'
VERSION = '0.28.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.27.0
gemVersion: 0.28.0
library: faraday
moduleName: MxPlatformRuby
6 changes: 6 additions & 0 deletions spec/models/widget_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
end
end

describe 'test attribute "insight_guid"' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end

describe 'test attribute "is_mobile_webview"' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
Expand Down

0 comments on commit 318b353

Please sign in to comment.