mx-platform-ruby 0.12.0 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/docs/ConnectWidgetRequest.md +3 -3
- data/docs/HoldingResponse.md +2 -0
- data/docs/InstitutionResponse.md +2 -0
- data/docs/MemberCreateRequest.md +2 -0
- data/docs/MxPlatformApi.md +4 -215
- data/docs/WidgetRequest.md +2 -2
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +5 -190
- data/lib/mx-platform-ruby/configuration.rb +0 -7
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +13 -13
- data/lib/mx-platform-ruby/models/holding_response.rb +11 -1
- data/lib/mx-platform-ruby/models/institution_response.rb +11 -1
- data/lib/mx-platform-ruby/models/member_create_request.rb +10 -1
- data/lib/mx-platform-ruby/models/widget_request.rb +10 -10
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +0 -7
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +2 -37
- data/spec/models/connect_widget_request_spec.rb +6 -6
- data/spec/models/holding_response_spec.rb +6 -0
- data/spec/models/institution_response_spec.rb +6 -0
- data/spec/models/member_create_request_spec.rb +6 -0
- data/spec/models/widget_request_spec.rb +6 -6
- metadata +92 -120
- data/docs/PartnerAccountResponse.md +0 -30
- data/docs/PartnerAccountResponseBody.md +0 -18
- data/docs/PartnerAuthorizationCodeRequest.md +0 -22
- data/docs/PartnerAuthorizationCodeRequestBody.md +0 -18
- data/docs/PartnerAuthorizationCodeResponse.md +0 -18
- data/docs/PartnerAuthorizationCodeResponseBody.md +0 -18
- data/docs/PartnerTokenResponseBody.md +0 -22
- data/lib/mx-platform-ruby/models/partner_account_response.rb +0 -279
- data/lib/mx-platform-ruby/models/partner_account_response_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_authorization_code_request.rb +0 -236
- data/lib/mx-platform-ruby/models/partner_authorization_code_request_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_authorization_code_response.rb +0 -219
- data/lib/mx-platform-ruby/models/partner_authorization_code_response_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_token_response_body.rb +0 -239
- data/spec/models/partner_account_response_body_spec.rb +0 -34
- data/spec/models/partner_account_response_spec.rb +0 -70
- data/spec/models/partner_authorization_code_request_body_spec.rb +0 -34
- data/spec/models/partner_authorization_code_request_spec.rb +0 -46
- data/spec/models/partner_authorization_code_response_body_spec.rb +0 -34
- data/spec/models/partner_authorization_code_response_spec.rb +0 -34
- data/spec/models/partner_token_response_body_spec.rb +0 -46
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
17
|
class ConnectWidgetRequest
|
18
|
+
attr_accessor :client_redirect_url
|
19
|
+
|
18
20
|
attr_accessor :color_scheme
|
19
21
|
|
20
22
|
attr_accessor :current_institution_code
|
@@ -35,11 +37,10 @@ module MxPlatformRuby
|
|
35
37
|
|
36
38
|
attr_accessor :update_credentials
|
37
39
|
|
38
|
-
attr_accessor :wait_for_full_aggregation
|
39
|
-
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
+
:'client_redirect_url' => :'client_redirect_url',
|
43
44
|
:'color_scheme' => :'color_scheme',
|
44
45
|
:'current_institution_code' => :'current_institution_code',
|
45
46
|
:'current_member_guid' => :'current_member_guid',
|
@@ -49,8 +50,7 @@ module MxPlatformRuby
|
|
49
50
|
:'mode' => :'mode',
|
50
51
|
:'ui_message_version' => :'ui_message_version',
|
51
52
|
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
|
52
|
-
:'update_credentials' => :'update_credentials'
|
53
|
-
:'wait_for_full_aggregation' => :'wait_for_full_aggregation'
|
53
|
+
:'update_credentials' => :'update_credentials'
|
54
54
|
}
|
55
55
|
end
|
56
56
|
|
@@ -62,6 +62,7 @@ module MxPlatformRuby
|
|
62
62
|
# Attribute type mapping.
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
|
+
:'client_redirect_url' => :'String',
|
65
66
|
:'color_scheme' => :'String',
|
66
67
|
:'current_institution_code' => :'String',
|
67
68
|
:'current_member_guid' => :'String',
|
@@ -71,8 +72,7 @@ module MxPlatformRuby
|
|
71
72
|
:'mode' => :'String',
|
72
73
|
:'ui_message_version' => :'Integer',
|
73
74
|
:'ui_message_webview_url_scheme' => :'String',
|
74
|
-
:'update_credentials' => :'Boolean'
|
75
|
-
:'wait_for_full_aggregation' => :'Boolean'
|
75
|
+
:'update_credentials' => :'Boolean'
|
76
76
|
}
|
77
77
|
end
|
78
78
|
|
@@ -97,6 +97,10 @@ module MxPlatformRuby
|
|
97
97
|
h[k.to_sym] = v
|
98
98
|
}
|
99
99
|
|
100
|
+
if attributes.key?(:'client_redirect_url')
|
101
|
+
self.client_redirect_url = attributes[:'client_redirect_url']
|
102
|
+
end
|
103
|
+
|
100
104
|
if attributes.key?(:'color_scheme')
|
101
105
|
self.color_scheme = attributes[:'color_scheme']
|
102
106
|
end
|
@@ -136,10 +140,6 @@ module MxPlatformRuby
|
|
136
140
|
if attributes.key?(:'update_credentials')
|
137
141
|
self.update_credentials = attributes[:'update_credentials']
|
138
142
|
end
|
139
|
-
|
140
|
-
if attributes.key?(:'wait_for_full_aggregation')
|
141
|
-
self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
|
142
|
-
end
|
143
143
|
end
|
144
144
|
|
145
145
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,6 +160,7 @@ module MxPlatformRuby
|
|
160
160
|
def ==(o)
|
161
161
|
return true if self.equal?(o)
|
162
162
|
self.class == o.class &&
|
163
|
+
client_redirect_url == o.client_redirect_url &&
|
163
164
|
color_scheme == o.color_scheme &&
|
164
165
|
current_institution_code == o.current_institution_code &&
|
165
166
|
current_member_guid == o.current_member_guid &&
|
@@ -169,8 +170,7 @@ module MxPlatformRuby
|
|
169
170
|
mode == o.mode &&
|
170
171
|
ui_message_version == o.ui_message_version &&
|
171
172
|
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
|
172
|
-
update_credentials == o.update_credentials
|
173
|
-
wait_for_full_aggregation == o.wait_for_full_aggregation
|
173
|
+
update_credentials == o.update_credentials
|
174
174
|
end
|
175
175
|
|
176
176
|
# @see the `==` method
|
@@ -182,7 +182,7 @@ module MxPlatformRuby
|
|
182
182
|
# Calculates hash code according to all attributes.
|
183
183
|
# @return [Integer] Hash code
|
184
184
|
def hash
|
185
|
-
[color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials
|
185
|
+
[client_redirect_url, color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials].hash
|
186
186
|
end
|
187
187
|
|
188
188
|
# Builds the object from hash
|
@@ -33,6 +33,8 @@ module MxPlatformRuby
|
|
33
33
|
|
34
34
|
attr_accessor :holding_type
|
35
35
|
|
36
|
+
attr_accessor :holding_type_id
|
37
|
+
|
36
38
|
attr_accessor :id
|
37
39
|
|
38
40
|
attr_accessor :market_value
|
@@ -63,6 +65,7 @@ module MxPlatformRuby
|
|
63
65
|
:'description' => :'description',
|
64
66
|
:'guid' => :'guid',
|
65
67
|
:'holding_type' => :'holding_type',
|
68
|
+
:'holding_type_id' => :'holding_type_id',
|
66
69
|
:'id' => :'id',
|
67
70
|
:'market_value' => :'market_value',
|
68
71
|
:'member_guid' => :'member_guid',
|
@@ -92,6 +95,7 @@ module MxPlatformRuby
|
|
92
95
|
:'description' => :'String',
|
93
96
|
:'guid' => :'String',
|
94
97
|
:'holding_type' => :'String',
|
98
|
+
:'holding_type_id' => :'Integer',
|
95
99
|
:'id' => :'String',
|
96
100
|
:'market_value' => :'Float',
|
97
101
|
:'member_guid' => :'String',
|
@@ -116,6 +120,7 @@ module MxPlatformRuby
|
|
116
120
|
:'description',
|
117
121
|
:'guid',
|
118
122
|
:'holding_type',
|
123
|
+
:'holding_type_id',
|
119
124
|
:'id',
|
120
125
|
:'market_value',
|
121
126
|
:'member_guid',
|
@@ -179,6 +184,10 @@ module MxPlatformRuby
|
|
179
184
|
self.holding_type = attributes[:'holding_type']
|
180
185
|
end
|
181
186
|
|
187
|
+
if attributes.key?(:'holding_type_id')
|
188
|
+
self.holding_type_id = attributes[:'holding_type_id']
|
189
|
+
end
|
190
|
+
|
182
191
|
if attributes.key?(:'id')
|
183
192
|
self.id = attributes[:'id']
|
184
193
|
end
|
@@ -243,6 +252,7 @@ module MxPlatformRuby
|
|
243
252
|
description == o.description &&
|
244
253
|
guid == o.guid &&
|
245
254
|
holding_type == o.holding_type &&
|
255
|
+
holding_type_id == o.holding_type_id &&
|
246
256
|
id == o.id &&
|
247
257
|
market_value == o.market_value &&
|
248
258
|
member_guid == o.member_guid &&
|
@@ -263,7 +273,7 @@ module MxPlatformRuby
|
|
263
273
|
# Calculates hash code according to all attributes.
|
264
274
|
# @return [Integer] Hash code
|
265
275
|
def hash
|
266
|
-
[account_guid, cost_basis, created_at, currency_code, cusip, daily_change, description, guid, holding_type, id, market_value, member_guid, metadata, purchase_price, shares, symbol, updated_at, user_guid].hash
|
276
|
+
[account_guid, cost_basis, created_at, currency_code, cusip, daily_change, description, guid, holding_type, holding_type_id, id, market_value, member_guid, metadata, purchase_price, shares, symbol, updated_at, user_guid].hash
|
267
277
|
end
|
268
278
|
|
269
279
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module MxPlatformRuby
|
|
17
17
|
class InstitutionResponse
|
18
18
|
attr_accessor :code
|
19
19
|
|
20
|
+
attr_accessor :instructional_text
|
21
|
+
|
20
22
|
attr_accessor :medium_logo_url
|
21
23
|
|
22
24
|
attr_accessor :name
|
@@ -39,6 +41,7 @@ module MxPlatformRuby
|
|
39
41
|
def self.attribute_map
|
40
42
|
{
|
41
43
|
:'code' => :'code',
|
44
|
+
:'instructional_text' => :'instructional_text',
|
42
45
|
:'medium_logo_url' => :'medium_logo_url',
|
43
46
|
:'name' => :'name',
|
44
47
|
:'small_logo_url' => :'small_logo_url',
|
@@ -60,6 +63,7 @@ module MxPlatformRuby
|
|
60
63
|
def self.openapi_types
|
61
64
|
{
|
62
65
|
:'code' => :'String',
|
66
|
+
:'instructional_text' => :'String',
|
63
67
|
:'medium_logo_url' => :'String',
|
64
68
|
:'name' => :'String',
|
65
69
|
:'small_logo_url' => :'String',
|
@@ -76,6 +80,7 @@ module MxPlatformRuby
|
|
76
80
|
def self.openapi_nullable
|
77
81
|
Set.new([
|
78
82
|
:'code',
|
83
|
+
:'instructional_text',
|
79
84
|
:'medium_logo_url',
|
80
85
|
:'name',
|
81
86
|
:'small_logo_url',
|
@@ -107,6 +112,10 @@ module MxPlatformRuby
|
|
107
112
|
self.code = attributes[:'code']
|
108
113
|
end
|
109
114
|
|
115
|
+
if attributes.key?(:'instructional_text')
|
116
|
+
self.instructional_text = attributes[:'instructional_text']
|
117
|
+
end
|
118
|
+
|
110
119
|
if attributes.key?(:'medium_logo_url')
|
111
120
|
self.medium_logo_url = attributes[:'medium_logo_url']
|
112
121
|
end
|
@@ -163,6 +172,7 @@ module MxPlatformRuby
|
|
163
172
|
return true if self.equal?(o)
|
164
173
|
self.class == o.class &&
|
165
174
|
code == o.code &&
|
175
|
+
instructional_text == o.instructional_text &&
|
166
176
|
medium_logo_url == o.medium_logo_url &&
|
167
177
|
name == o.name &&
|
168
178
|
small_logo_url == o.small_logo_url &&
|
@@ -183,7 +193,7 @@ module MxPlatformRuby
|
|
183
193
|
# Calculates hash code according to all attributes.
|
184
194
|
# @return [Integer] Hash code
|
185
195
|
def hash
|
186
|
-
[code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
|
196
|
+
[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
|
187
197
|
end
|
188
198
|
|
189
199
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module MxPlatformRuby
|
|
17
17
|
class MemberCreateRequest
|
18
18
|
attr_accessor :background_aggregation_is_disabled
|
19
19
|
|
20
|
+
attr_accessor :client_redirect_url
|
21
|
+
|
20
22
|
attr_accessor :credentials
|
21
23
|
|
22
24
|
attr_accessor :id
|
@@ -33,6 +35,7 @@ module MxPlatformRuby
|
|
33
35
|
def self.attribute_map
|
34
36
|
{
|
35
37
|
:'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
|
38
|
+
:'client_redirect_url' => :'client_redirect_url',
|
36
39
|
:'credentials' => :'credentials',
|
37
40
|
:'id' => :'id',
|
38
41
|
:'institution_code' => :'institution_code',
|
@@ -51,6 +54,7 @@ module MxPlatformRuby
|
|
51
54
|
def self.openapi_types
|
52
55
|
{
|
53
56
|
:'background_aggregation_is_disabled' => :'Boolean',
|
57
|
+
:'client_redirect_url' => :'String',
|
54
58
|
:'credentials' => :'Array<CredentialRequest>',
|
55
59
|
:'id' => :'String',
|
56
60
|
:'institution_code' => :'String',
|
@@ -85,6 +89,10 @@ module MxPlatformRuby
|
|
85
89
|
self.background_aggregation_is_disabled = attributes[:'background_aggregation_is_disabled']
|
86
90
|
end
|
87
91
|
|
92
|
+
if attributes.key?(:'client_redirect_url')
|
93
|
+
self.client_redirect_url = attributes[:'client_redirect_url']
|
94
|
+
end
|
95
|
+
|
88
96
|
if attributes.key?(:'credentials')
|
89
97
|
if (value = attributes[:'credentials']).is_a?(Array)
|
90
98
|
self.credentials = value
|
@@ -141,6 +149,7 @@ module MxPlatformRuby
|
|
141
149
|
return true if self.equal?(o)
|
142
150
|
self.class == o.class &&
|
143
151
|
background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
|
152
|
+
client_redirect_url == o.client_redirect_url &&
|
144
153
|
credentials == o.credentials &&
|
145
154
|
id == o.id &&
|
146
155
|
institution_code == o.institution_code &&
|
@@ -158,7 +167,7 @@ module MxPlatformRuby
|
|
158
167
|
# Calculates hash code according to all attributes.
|
159
168
|
# @return [Integer] Hash code
|
160
169
|
def hash
|
161
|
-
[background_aggregation_is_disabled, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
|
170
|
+
[background_aggregation_is_disabled, client_redirect_url, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
|
162
171
|
end
|
163
172
|
|
164
173
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
17
|
class WidgetRequest
|
18
|
+
attr_accessor :client_redirect_url
|
19
|
+
|
18
20
|
attr_accessor :color_scheme
|
19
21
|
|
20
22
|
attr_accessor :current_institution_code
|
@@ -37,13 +39,12 @@ module MxPlatformRuby
|
|
37
39
|
|
38
40
|
attr_accessor :update_credentials
|
39
41
|
|
40
|
-
attr_accessor :wait_for_full_aggregation
|
41
|
-
|
42
42
|
attr_accessor :widget_type
|
43
43
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
+
:'client_redirect_url' => :'client_redirect_url',
|
47
48
|
:'color_scheme' => :'color_scheme',
|
48
49
|
:'current_institution_code' => :'current_institution_code',
|
49
50
|
:'current_institution_guid' => :'current_institution_guid',
|
@@ -55,7 +56,6 @@ module MxPlatformRuby
|
|
55
56
|
:'ui_message_version' => :'ui_message_version',
|
56
57
|
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
|
57
58
|
:'update_credentials' => :'update_credentials',
|
58
|
-
:'wait_for_full_aggregation' => :'wait_for_full_aggregation',
|
59
59
|
:'widget_type' => :'widget_type'
|
60
60
|
}
|
61
61
|
end
|
@@ -68,6 +68,7 @@ module MxPlatformRuby
|
|
68
68
|
# Attribute type mapping.
|
69
69
|
def self.openapi_types
|
70
70
|
{
|
71
|
+
:'client_redirect_url' => :'String',
|
71
72
|
:'color_scheme' => :'String',
|
72
73
|
:'current_institution_code' => :'String',
|
73
74
|
:'current_institution_guid' => :'String',
|
@@ -79,7 +80,6 @@ module MxPlatformRuby
|
|
79
80
|
:'ui_message_version' => :'Integer',
|
80
81
|
:'ui_message_webview_url_scheme' => :'String',
|
81
82
|
:'update_credentials' => :'Boolean',
|
82
|
-
:'wait_for_full_aggregation' => :'Boolean',
|
83
83
|
:'widget_type' => :'String'
|
84
84
|
}
|
85
85
|
end
|
@@ -105,6 +105,10 @@ module MxPlatformRuby
|
|
105
105
|
h[k.to_sym] = v
|
106
106
|
}
|
107
107
|
|
108
|
+
if attributes.key?(:'client_redirect_url')
|
109
|
+
self.client_redirect_url = attributes[:'client_redirect_url']
|
110
|
+
end
|
111
|
+
|
108
112
|
if attributes.key?(:'color_scheme')
|
109
113
|
self.color_scheme = attributes[:'color_scheme']
|
110
114
|
end
|
@@ -149,10 +153,6 @@ module MxPlatformRuby
|
|
149
153
|
self.update_credentials = attributes[:'update_credentials']
|
150
154
|
end
|
151
155
|
|
152
|
-
if attributes.key?(:'wait_for_full_aggregation')
|
153
|
-
self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
|
154
|
-
end
|
155
|
-
|
156
156
|
if attributes.key?(:'widget_type')
|
157
157
|
self.widget_type = attributes[:'widget_type']
|
158
158
|
end
|
@@ -181,6 +181,7 @@ module MxPlatformRuby
|
|
181
181
|
def ==(o)
|
182
182
|
return true if self.equal?(o)
|
183
183
|
self.class == o.class &&
|
184
|
+
client_redirect_url == o.client_redirect_url &&
|
184
185
|
color_scheme == o.color_scheme &&
|
185
186
|
current_institution_code == o.current_institution_code &&
|
186
187
|
current_institution_guid == o.current_institution_guid &&
|
@@ -192,7 +193,6 @@ module MxPlatformRuby
|
|
192
193
|
ui_message_version == o.ui_message_version &&
|
193
194
|
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
|
194
195
|
update_credentials == o.update_credentials &&
|
195
|
-
wait_for_full_aggregation == o.wait_for_full_aggregation &&
|
196
196
|
widget_type == o.widget_type
|
197
197
|
end
|
198
198
|
|
@@ -205,7 +205,7 @@ module MxPlatformRuby
|
|
205
205
|
# Calculates hash code according to all attributes.
|
206
206
|
# @return [Integer] Hash code
|
207
207
|
def hash
|
208
|
-
[color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials,
|
208
|
+
[client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].hash
|
209
209
|
end
|
210
210
|
|
211
211
|
# Builds the object from hash
|
data/lib/mx-platform-ruby.rb
CHANGED
@@ -85,13 +85,6 @@ require 'mx-platform-ruby/models/o_auth_window_response'
|
|
85
85
|
require 'mx-platform-ruby/models/o_auth_window_response_body'
|
86
86
|
require 'mx-platform-ruby/models/option_response'
|
87
87
|
require 'mx-platform-ruby/models/pagination_response'
|
88
|
-
require 'mx-platform-ruby/models/partner_account_response'
|
89
|
-
require 'mx-platform-ruby/models/partner_account_response_body'
|
90
|
-
require 'mx-platform-ruby/models/partner_authorization_code_request'
|
91
|
-
require 'mx-platform-ruby/models/partner_authorization_code_request_body'
|
92
|
-
require 'mx-platform-ruby/models/partner_authorization_code_response'
|
93
|
-
require 'mx-platform-ruby/models/partner_authorization_code_response_body'
|
94
|
-
require 'mx-platform-ruby/models/partner_token_response_body'
|
95
88
|
require 'mx-platform-ruby/models/statement_response'
|
96
89
|
require 'mx-platform-ruby/models/statement_response_body'
|
97
90
|
require 'mx-platform-ruby/models/statements_response_body'
|
data/openapi/config.yml
CHANGED
@@ -1060,9 +1060,10 @@ describe 'MxPlatformApi' do
|
|
1060
1060
|
# @param member_guid The unique id for a `member`.
|
1061
1061
|
# @param user_guid The unique id for a `user`.
|
1062
1062
|
# @param [Hash] opts the optional parameters
|
1063
|
+
# @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
|
1063
1064
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
1064
1065
|
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
1065
|
-
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
1066
|
+
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
1066
1067
|
# @return [OAuthWindowResponseBody]
|
1067
1068
|
describe 'request_o_auth_window_uri test' do
|
1068
1069
|
it 'should work' do
|
@@ -1070,42 +1071,6 @@ describe 'MxPlatformApi' do
|
|
1070
1071
|
end
|
1071
1072
|
end
|
1072
1073
|
|
1073
|
-
# unit tests for request_partner_account
|
1074
|
-
# Request partner account
|
1075
|
-
# Use this endpoint to request a partner account.
|
1076
|
-
# @param [Hash] opts the optional parameters
|
1077
|
-
# @return [PartnerAccountResponseBody]
|
1078
|
-
describe 'request_partner_account test' do
|
1079
|
-
it 'should work' do
|
1080
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
# unit tests for request_partner_authorization_code
|
1085
|
-
# Request partner authorization code
|
1086
|
-
# Use this endpoint to request a partner authorization code.
|
1087
|
-
# @param partner_authorization_code_request_body Partner authorization code object containing account_guid, member_guid, and user_guid.
|
1088
|
-
# @param [Hash] opts the optional parameters
|
1089
|
-
# @return [PartnerAuthorizationCodeResponseBody]
|
1090
|
-
describe 'request_partner_authorization_code test' do
|
1091
|
-
it 'should work' do
|
1092
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1093
|
-
end
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
# unit tests for request_partner_token
|
1097
|
-
# Request partner token
|
1098
|
-
# Use this endpoint to request a partner token.
|
1099
|
-
# @param [Hash] opts the optional parameters
|
1100
|
-
# @option opts [String] :code Code to request partner token.
|
1101
|
-
# @option opts [String] :grant_type Specify grant type.
|
1102
|
-
# @return [PartnerTokenResponseBody]
|
1103
|
-
describe 'request_partner_token test' do
|
1104
|
-
it 'should work' do
|
1105
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1106
|
-
end
|
1107
|
-
end
|
1108
|
-
|
1109
1074
|
# unit tests for request_widget_url
|
1110
1075
|
# Request widget url
|
1111
1076
|
# This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
|
@@ -25,6 +25,12 @@ describe MxPlatformRuby::ConnectWidgetRequest do
|
|
25
25
|
expect(instance).to be_instance_of(MxPlatformRuby::ConnectWidgetRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "client_redirect_url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
28
34
|
describe 'test attribute "color_scheme"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -85,10 +91,4 @@ describe MxPlatformRuby::ConnectWidgetRequest do
|
|
85
91
|
end
|
86
92
|
end
|
87
93
|
|
88
|
-
describe 'test attribute "wait_for_full_aggregation"' do
|
89
|
-
it 'should work' do
|
90
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
94
|
end
|
@@ -79,6 +79,12 @@ describe MxPlatformRuby::HoldingResponse do
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
+
describe 'test attribute "holding_type_id"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
82
88
|
describe 'test attribute "id"' do
|
83
89
|
it 'should work' do
|
84
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -31,6 +31,12 @@ describe MxPlatformRuby::InstitutionResponse do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "instructional_text"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
34
40
|
describe 'test attribute "medium_logo_url"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -31,6 +31,12 @@ describe MxPlatformRuby::MemberCreateRequest do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "client_redirect_url"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
34
40
|
describe 'test attribute "credentials"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -25,6 +25,12 @@ describe MxPlatformRuby::WidgetRequest do
|
|
25
25
|
expect(instance).to be_instance_of(MxPlatformRuby::WidgetRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "client_redirect_url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
28
34
|
describe 'test attribute "color_scheme"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -91,12 +97,6 @@ describe MxPlatformRuby::WidgetRequest do
|
|
91
97
|
end
|
92
98
|
end
|
93
99
|
|
94
|
-
describe 'test attribute "wait_for_full_aggregation"' do
|
95
|
-
it 'should work' do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
100
|
describe 'test attribute "widget_type"' do
|
101
101
|
it 'should work' do
|
102
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|