mailslurp_client 11.1.1 → 11.2.0
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: d7543e13e59b4a636960220f48bf43983f010598909a66d4ec352b7205c90959
|
4
|
+
data.tar.gz: e1406a7389d3a95cfa3a4158e293d114c63c4b5b3945b35be85121ecc29ff60a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1134ebb53b4db927a34119f99b0b33dd05ce005cc3fd64962724dd28633b8b76961757b2180aecd543889e1cea0b30fcf7a1299f60436ad11eee49ea604709d
|
7
|
+
data.tar.gz: 17a077d87af88da2fd93b2930fd1b3c4ad824f4f5ee1709b3df4ef5a474f0b305a14a2d8b209f415c734da4700f9e2f4d9063b9aa35aa4e426559bb49a49ccbb
|
@@ -696,7 +696,7 @@ module MailSlurpClient
|
|
696
696
|
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.get_email_html_query"
|
697
697
|
end
|
698
698
|
# resource path
|
699
|
-
local_var_path = '/emails/{emailId}/
|
699
|
+
local_var_path = '/emails/{emailId}/htmlQuery'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
|
700
700
|
|
701
701
|
# query parameters
|
702
702
|
query_params = opts[:query_params] || {}
|
@@ -728,7 +728,7 @@ module MailSlurpClient
|
|
728
728
|
:return_type => return_type
|
729
729
|
)
|
730
730
|
|
731
|
-
data, status_code, headers = @api_client.call_api(:
|
731
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
732
732
|
if @api_client.config.debugging
|
733
733
|
@api_client.config.logger.debug "API called: EmailControllerApi#get_email_html_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
734
734
|
end
|
@@ -740,6 +740,7 @@ module MailSlurpClient
|
|
740
740
|
# @param email_id [String] ID of email to fetch text for
|
741
741
|
# @param [Hash] opts the optional parameters
|
742
742
|
# @option opts [Boolean] :decode_html_entities Decode HTML entities
|
743
|
+
# @option opts [String] :line_separator Line separator character
|
743
744
|
# @return [EmailTextLinesResult]
|
744
745
|
def get_email_text_lines(email_id, opts = {})
|
745
746
|
data, _status_code, _headers = get_email_text_lines_with_http_info(email_id, opts)
|
@@ -751,6 +752,7 @@ module MailSlurpClient
|
|
751
752
|
# @param email_id [String] ID of email to fetch text for
|
752
753
|
# @param [Hash] opts the optional parameters
|
753
754
|
# @option opts [Boolean] :decode_html_entities Decode HTML entities
|
755
|
+
# @option opts [String] :line_separator Line separator character
|
754
756
|
# @return [Array<(EmailTextLinesResult, Integer, Hash)>] EmailTextLinesResult data, response status code and response headers
|
755
757
|
def get_email_text_lines_with_http_info(email_id, opts = {})
|
756
758
|
if @api_client.config.debugging
|
@@ -761,11 +763,12 @@ module MailSlurpClient
|
|
761
763
|
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.get_email_text_lines"
|
762
764
|
end
|
763
765
|
# resource path
|
764
|
-
local_var_path = '/emails/{emailId}/
|
766
|
+
local_var_path = '/emails/{emailId}/textLines'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
|
765
767
|
|
766
768
|
# query parameters
|
767
769
|
query_params = opts[:query_params] || {}
|
768
770
|
query_params[:'decodeHtmlEntities'] = opts[:'decode_html_entities'] if !opts[:'decode_html_entities'].nil?
|
771
|
+
query_params[:'lineSeparator'] = opts[:'line_separator'] if !opts[:'line_separator'].nil?
|
769
772
|
|
770
773
|
# header parameters
|
771
774
|
header_params = opts[:header_params] || {}
|
@@ -793,7 +796,7 @@ module MailSlurpClient
|
|
793
796
|
:return_type => return_type
|
794
797
|
)
|
795
798
|
|
796
|
-
data, status_code, headers = @api_client.call_api(:
|
799
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
797
800
|
if @api_client.config.debugging
|
798
801
|
@api_client.config.logger.debug "API called: EmailControllerApi#get_email_text_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
799
802
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create emails addresses in Ruby then send and receive real emails and
|
14
14
|
attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.
|