Skip to content

Commit

Permalink
Generated version 0.26.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.26.0 of this library.
  • Loading branch information
devexperience committed Feb 28, 2024
1 parent 59dab94 commit 0899562
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/WidgetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
| **include_identity** | **Boolean** | | [optional] |
| **include_transactions** | **Boolean** | | [optional] |
| **is_mobile_webview** | **Boolean** | | [optional] |
| **microwidget_instance_id** | **String** | | [optional] |
| **mode** | **String** | | [optional] |
| **oauth_referral_source** | **String** | | [optional] |
| **ui_message_version** | **Integer** | | [optional] |
Expand All @@ -37,6 +38,7 @@ instance = MxPlatformRuby::WidgetRequest.new(
include_identity: false,
include_transactions: true,
is_mobile_webview: false,
microwidget_instance_id: false,
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 @@ -35,6 +35,8 @@ class WidgetRequest

attr_accessor :is_mobile_webview

attr_accessor :microwidget_instance_id

attr_accessor :mode

attr_accessor :oauth_referral_source
Expand All @@ -60,6 +62,7 @@ def self.attribute_map
:'include_identity' => :'include_identity',
:'include_transactions' => :'include_transactions',
:'is_mobile_webview' => :'is_mobile_webview',
:'microwidget_instance_id' => :'microwidget_instance_id',
:'mode' => :'mode',
:'oauth_referral_source' => :'oauth_referral_source',
:'ui_message_version' => :'ui_message_version',
Expand Down Expand Up @@ -87,6 +90,7 @@ def self.openapi_types
:'include_identity' => :'Boolean',
:'include_transactions' => :'Boolean',
:'is_mobile_webview' => :'Boolean',
:'microwidget_instance_id' => :'String',
:'mode' => :'String',
:'oauth_referral_source' => :'String',
:'ui_message_version' => :'Integer',
Expand Down Expand Up @@ -157,6 +161,10 @@ def initialize(attributes = {})
self.is_mobile_webview = attributes[:'is_mobile_webview']
end

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

if attributes.key?(:'mode')
self.mode = attributes[:'mode']
end
Expand Down Expand Up @@ -219,6 +227,7 @@ def ==(o)
include_identity == o.include_identity &&
include_transactions == o.include_transactions &&
is_mobile_webview == o.is_mobile_webview &&
microwidget_instance_id == o.microwidget_instance_id &&
mode == o.mode &&
oauth_referral_source == o.oauth_referral_source &&
ui_message_version == o.ui_message_version &&
Expand All @@ -236,7 +245,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, 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, 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.25.0'
VERSION = '0.26.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.25.0
gemVersion: 0.26.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 @@ -85,6 +85,12 @@
end
end

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

describe 'test attribute "mode"' 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 0899562

Please sign in to comment.