Skip to content

Commit 0899562

Browse files
author
devexperience
committed
Generated version 0.26.0
This commit was automatically created by a GitHub Action to generate version 0.26.0 of this library.
1 parent 59dab94 commit 0899562

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

docs/WidgetRequest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
| **include_identity** | **Boolean** | | [optional] |
1515
| **include_transactions** | **Boolean** | | [optional] |
1616
| **is_mobile_webview** | **Boolean** | | [optional] |
17+
| **microwidget_instance_id** | **String** | | [optional] |
1718
| **mode** | **String** | | [optional] |
1819
| **oauth_referral_source** | **String** | | [optional] |
1920
| **ui_message_version** | **Integer** | | [optional] |
@@ -37,6 +38,7 @@ instance = MxPlatformRuby::WidgetRequest.new(
3738
include_identity: false,
3839
include_transactions: true,
3940
is_mobile_webview: false,
41+
microwidget_instance_id: false,
4042
mode: aggregation,
4143
oauth_referral_source: BROWSER,
4244
ui_message_version: 4,

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class WidgetRequest
3535

3636
attr_accessor :is_mobile_webview
3737

38+
attr_accessor :microwidget_instance_id
39+
3840
attr_accessor :mode
3941

4042
attr_accessor :oauth_referral_source
@@ -60,6 +62,7 @@ def self.attribute_map
6062
:'include_identity' => :'include_identity',
6163
:'include_transactions' => :'include_transactions',
6264
:'is_mobile_webview' => :'is_mobile_webview',
65+
:'microwidget_instance_id' => :'microwidget_instance_id',
6366
:'mode' => :'mode',
6467
:'oauth_referral_source' => :'oauth_referral_source',
6568
:'ui_message_version' => :'ui_message_version',
@@ -87,6 +90,7 @@ def self.openapi_types
8790
:'include_identity' => :'Boolean',
8891
:'include_transactions' => :'Boolean',
8992
:'is_mobile_webview' => :'Boolean',
93+
:'microwidget_instance_id' => :'String',
9094
:'mode' => :'String',
9195
:'oauth_referral_source' => :'String',
9296
:'ui_message_version' => :'Integer',
@@ -157,6 +161,10 @@ def initialize(attributes = {})
157161
self.is_mobile_webview = attributes[:'is_mobile_webview']
158162
end
159163

164+
if attributes.key?(:'microwidget_instance_id')
165+
self.microwidget_instance_id = attributes[:'microwidget_instance_id']
166+
end
167+
160168
if attributes.key?(:'mode')
161169
self.mode = attributes[:'mode']
162170
end
@@ -219,6 +227,7 @@ def ==(o)
219227
include_identity == o.include_identity &&
220228
include_transactions == o.include_transactions &&
221229
is_mobile_webview == o.is_mobile_webview &&
230+
microwidget_instance_id == o.microwidget_instance_id &&
222231
mode == o.mode &&
223232
oauth_referral_source == o.oauth_referral_source &&
224233
ui_message_version == o.ui_message_version &&
@@ -236,7 +245,7 @@ def eql?(o)
236245
# Calculates hash code according to all attributes.
237246
# @return [Integer] Hash code
238247
def hash
239-
[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
248+
[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
240249
end
241250

242251
# 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.25.0'
14+
VERSION = '0.26.0'
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.25.0
9+
gemVersion: 0.26.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/widget_request_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
end
8686
end
8787

88+
describe 'test attribute "microwidget_instance_id"' do
89+
it 'should work' do
90+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91+
end
92+
end
93+
8894
describe 'test attribute "mode"' do
8995
it 'should work' do
9096
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)