Skip to content

Commit 318b353

Browse files
author
devexperience
committed
Generated version 0.28.0
This commit was automatically created by a GitHub Action to generate version 0.28.0 of this library.
1 parent 629ac99 commit 318b353

5 files changed

Lines changed: 21 additions & 4 deletions

File tree

docs/WidgetRequest.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
| **disable_institution_search** | **Boolean** | | [optional] |
1414
| **include_identity** | **Boolean** | | [optional] |
1515
| **include_transactions** | **Boolean** | | [optional] |
16+
| **insight_guid** | **String** | | [optional] |
1617
| **is_mobile_webview** | **Boolean** | | [optional] |
1718
| **microwidget_instance_id** | **String** | | [optional] |
1819
| **mode** | **String** | | [optional] |
@@ -37,8 +38,9 @@ instance = MxPlatformRuby::WidgetRequest.new(
3738
disable_institution_search: false,
3839
include_identity: false,
3940
include_transactions: true,
41+
insight_guid: BET-1234,
4042
is_mobile_webview: false,
41-
microwidget_instance_id: false,
43+
microwidget_instance_id: accounts_page,
4244
mode: aggregation,
4345
oauth_referral_source: BROWSER,
4446
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
@@ -33,6 +33,8 @@ class WidgetRequest
3333

3434
attr_accessor :include_transactions
3535

36+
attr_accessor :insight_guid
37+
3638
attr_accessor :is_mobile_webview
3739

3840
attr_accessor :microwidget_instance_id
@@ -61,6 +63,7 @@ def self.attribute_map
6163
:'disable_institution_search' => :'disable_institution_search',
6264
:'include_identity' => :'include_identity',
6365
:'include_transactions' => :'include_transactions',
66+
:'insight_guid' => :'insight_guid',
6467
:'is_mobile_webview' => :'is_mobile_webview',
6568
:'microwidget_instance_id' => :'microwidget_instance_id',
6669
:'mode' => :'mode',
@@ -89,6 +92,7 @@ def self.openapi_types
8992
:'disable_institution_search' => :'Boolean',
9093
:'include_identity' => :'Boolean',
9194
:'include_transactions' => :'Boolean',
95+
:'insight_guid' => :'String',
9296
:'is_mobile_webview' => :'Boolean',
9397
:'microwidget_instance_id' => :'String',
9498
:'mode' => :'String',
@@ -157,6 +161,10 @@ def initialize(attributes = {})
157161
self.include_transactions = attributes[:'include_transactions']
158162
end
159163

164+
if attributes.key?(:'insight_guid')
165+
self.insight_guid = attributes[:'insight_guid']
166+
end
167+
160168
if attributes.key?(:'is_mobile_webview')
161169
self.is_mobile_webview = attributes[:'is_mobile_webview']
162170
end
@@ -226,6 +234,7 @@ def ==(o)
226234
disable_institution_search == o.disable_institution_search &&
227235
include_identity == o.include_identity &&
228236
include_transactions == o.include_transactions &&
237+
insight_guid == o.insight_guid &&
229238
is_mobile_webview == o.is_mobile_webview &&
230239
microwidget_instance_id == o.microwidget_instance_id &&
231240
mode == o.mode &&
@@ -245,7 +254,7 @@ def eql?(o)
245254
# Calculates hash code according to all attributes.
246255
# @return [Integer] Hash code
247256
def 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
257+
[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
249258
end
250259

251260
# 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.27.0'
14+
VERSION = '0.28.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.27.0
9+
gemVersion: 0.28.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
@@ -79,6 +79,12 @@
7979
end
8080
end
8181

82+
describe 'test attribute "insight_guid"' do
83+
it 'should work' do
84+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85+
end
86+
end
87+
8288
describe 'test attribute "is_mobile_webview"' do
8389
it 'should work' do
8490
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)