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: 2ddb6d7997eafd08191d6d69bf3a74dab0213c73391f70e844ccba68390c3d10
4
- data.tar.gz: a22e111da54971b22b7d8523553331c81cf0c70d53d06013703965c5e5c2e42a
3
+ metadata.gz: e562ff8cfe082c2eac8d6052fdc69ccdb301bb59e39a28d37932d7bbabe4a75b
4
+ data.tar.gz: fea82469b3485e4bb3537077ea4a3b1e933827a143debcb957e5ee293e8d2ab3
5
5
  SHA512:
6
- metadata.gz: 24a5291dc9eef3efbdbd802553e4bbbc7de663d73fbabee02d952e19ec3e97c21a9ab41e8c59cd4cd966112524349ba1334b4cf8c6d2c00716f4611edcb18a73
7
- data.tar.gz: ea391088c7c1bd7658c8c616cc3af1e29bdf09177b8ece9847f8617c89d30661f39220b434932d6d8314e93d98e6c4a6441e99fb23e96826115a477b1b68777d
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(inbox_id, timeout, opts = {})
163
- data, _status_code, _headers = wait_for_nth_missed_email_with_http_info(inbox_id, timeout, opts)
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(inbox_id, timeout, opts = {})
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'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s)).sub('{' + 'timeout' + '}', CGI.escape(timeout.to_s))
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] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '12.6.1'
14
+ VERSION = '12.6.3'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.6.1
4
+ version: 12.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp