mailslurp_client 12.6.1 → 12.6.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e562ff8cfe082c2eac8d6052fdc69ccdb301bb59e39a28d37932d7bbabe4a75b
|
4
|
+
data.tar.gz: fea82469b3485e4bb3537077ea4a3b1e933827a143debcb957e5ee293e8d2ab3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a24726f59bed4793b9dedb35cfea04bfb42a6965929e7304381b84bb86ef6fbcdcc18d2d699e6b402ef1540c4464074486c003bfb916e7b1e2ddfec36d6047d2
|
7
|
+
data.tar.gz: 13db91fdba52240f6ffe3f99f77a2d52031c702770d9611dc3a61a8392ae69b9b1fb721466fce06aeb6ea80235ae1f4cec285a1e1c5998a98c09833a1e0e8a2b
|
@@ -154,41 +154,35 @@ module MailSlurpClient
|
|
154
154
|
|
155
155
|
# Wait for Nth missed email
|
156
156
|
# Wait for 0 based index missed email
|
157
|
-
# @param inbox_id [String] Optional inbox ID filter
|
158
|
-
# @param timeout [Integer] Optional timeout milliseconds
|
159
157
|
# @param [Hash] opts the optional parameters
|
158
|
+
# @option opts [String] :inbox_id Optional inbox ID filter
|
160
159
|
# @option opts [Integer] :index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1
|
160
|
+
# @option opts [Integer] :timeout Optional timeout milliseconds
|
161
161
|
# @return [MissedEmail]
|
162
|
-
def wait_for_nth_missed_email(
|
163
|
-
data, _status_code, _headers = wait_for_nth_missed_email_with_http_info(
|
162
|
+
def wait_for_nth_missed_email(opts = {})
|
163
|
+
data, _status_code, _headers = wait_for_nth_missed_email_with_http_info(opts)
|
164
164
|
data
|
165
165
|
end
|
166
166
|
|
167
167
|
# Wait for Nth missed email
|
168
168
|
# Wait for 0 based index missed email
|
169
|
-
# @param inbox_id [String] Optional inbox ID filter
|
170
|
-
# @param timeout [Integer] Optional timeout milliseconds
|
171
169
|
# @param [Hash] opts the optional parameters
|
170
|
+
# @option opts [String] :inbox_id Optional inbox ID filter
|
172
171
|
# @option opts [Integer] :index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1
|
172
|
+
# @option opts [Integer] :timeout Optional timeout milliseconds
|
173
173
|
# @return [Array<(MissedEmail, Integer, Hash)>] MissedEmail data, response status code and response headers
|
174
|
-
def wait_for_nth_missed_email_with_http_info(
|
174
|
+
def wait_for_nth_missed_email_with_http_info(opts = {})
|
175
175
|
if @api_client.config.debugging
|
176
176
|
@api_client.config.logger.debug 'Calling API: MissedEmailControllerApi.wait_for_nth_missed_email ...'
|
177
177
|
end
|
178
|
-
# verify the required parameter 'inbox_id' is set
|
179
|
-
if @api_client.config.client_side_validation && inbox_id.nil?
|
180
|
-
fail ArgumentError, "Missing the required parameter 'inbox_id' when calling MissedEmailControllerApi.wait_for_nth_missed_email"
|
181
|
-
end
|
182
|
-
# verify the required parameter 'timeout' is set
|
183
|
-
if @api_client.config.client_side_validation && timeout.nil?
|
184
|
-
fail ArgumentError, "Missing the required parameter 'timeout' when calling MissedEmailControllerApi.wait_for_nth_missed_email"
|
185
|
-
end
|
186
178
|
# resource path
|
187
|
-
local_var_path = '/missed-emails/waitForNthMissedEmail'
|
179
|
+
local_var_path = '/missed-emails/waitForNthMissedEmail'
|
188
180
|
|
189
181
|
# query parameters
|
190
182
|
query_params = opts[:query_params] || {}
|
183
|
+
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
191
184
|
query_params[:'index'] = opts[:'index'] if !opts[:'index'].nil?
|
185
|
+
query_params[:'timeout'] = opts[:'timeout'] if !opts[:'timeout'].nil?
|
192
186
|
|
193
187
|
# header parameters
|
194
188
|
header_params = opts[:header_params] || {}
|