cloudmersive-convert-api-client 1.7.7 → 1.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ConvertDocumentApi.md +9 -9
- data/docs/EmlToHtmlResult.md +1 -3
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +13 -13
- data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +8 -28
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/convert_document_api_spec.rb +4 -4
- data/spec/models/eml_to_html_result_spec.rb +1 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374c80f1fdcacafe0feef1681077cc81d96dc97e313d1761816fd9ed6c919633
|
4
|
+
data.tar.gz: fceb49e343575fedc5c0b6f965285a4f25455539d51e7715da85548ef05d52a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d89ce63a1521d0772adce081af71036f4c26d93d02b813e42690485298b74223ee08a760261d8790a3e6b6c2891256dc7081d69aa507d5c7257b13a3f19562d6
|
7
|
+
data.tar.gz: 3897dbbe6d752b57ecc780d06a491f8b27b710971b0bfbe48e1efcdbd9307c8e6580361c4beb90c28ad1612f35f347b284c17ee32e6aa72d296cdd20a768b22e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.7.
|
10
|
+
- Package version: 1.7.8
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-convert-api-client-1.7.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.7.8.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.7.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.7.8.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-convert-api-client', '~> 1.7.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.7.8'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -117,7 +117,7 @@ Class | Method | HTTP request | Description
|
|
117
117
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_eml_to_html**](docs/ConvertDocumentApi.md#convert_document_eml_to_html) | **POST** /convert/eml/to/html | Convert Email EML file to HTML string
|
118
118
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_eml_to_pdf**](docs/ConvertDocumentApi.md#convert_document_eml_to_pdf) | **POST** /convert/eml/to/pdf | Convert Email EML file to PDF document
|
119
119
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_get_file_type_icon**](docs/ConvertDocumentApi.md#convert_document_get_file_type_icon) | **POST** /convert/autodetect/get-icon | Get PNG icon file for the file extension
|
120
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_get_file_type_icon_advanced**](docs/ConvertDocumentApi.md#convert_document_get_file_type_icon_advanced) | **POST** /convert/autodetect/get-icon
|
120
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_get_file_type_icon_advanced**](docs/ConvertDocumentApi.md#convert_document_get_file_type_icon_advanced) | **POST** /convert/autodetect/get-icon/advanced | Get PNG icon byte array for the file extension
|
121
121
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_pdf**](docs/ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML document file to PDF Document
|
122
122
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_png**](docs/ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML document file to PNG image array
|
123
123
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_txt**](docs/ConvertDocumentApi.md#convert_document_html_to_txt) | **POST** /convert/html/to/txt | HTML Document file to Text (txt)
|
data/docs/ConvertDocumentApi.md
CHANGED
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
20
20
|
[**convert_document_eml_to_html**](ConvertDocumentApi.md#convert_document_eml_to_html) | **POST** /convert/eml/to/html | Convert Email EML file to HTML string
|
21
21
|
[**convert_document_eml_to_pdf**](ConvertDocumentApi.md#convert_document_eml_to_pdf) | **POST** /convert/eml/to/pdf | Convert Email EML file to PDF document
|
22
22
|
[**convert_document_get_file_type_icon**](ConvertDocumentApi.md#convert_document_get_file_type_icon) | **POST** /convert/autodetect/get-icon | Get PNG icon file for the file extension
|
23
|
-
[**convert_document_get_file_type_icon_advanced**](ConvertDocumentApi.md#convert_document_get_file_type_icon_advanced) | **POST** /convert/autodetect/get-icon
|
23
|
+
[**convert_document_get_file_type_icon_advanced**](ConvertDocumentApi.md#convert_document_get_file_type_icon_advanced) | **POST** /convert/autodetect/get-icon/advanced | Get PNG icon byte array for the file extension
|
24
24
|
[**convert_document_html_to_pdf**](ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML document file to PDF Document
|
25
25
|
[**convert_document_html_to_png**](ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML document file to PNG image array
|
26
26
|
[**convert_document_html_to_txt**](ConvertDocumentApi.md#convert_document_html_to_txt) | **POST** /convert/html/to/txt | HTML Document file to Text (txt)
|
@@ -211,7 +211,7 @@ Name | Type | Description | Notes
|
|
211
211
|
|
212
212
|
|
213
213
|
# **convert_document_autodetect_to_thumbnail**
|
214
|
-
>
|
214
|
+
> String convert_document_autodetect_to_thumbnail(input_file, opts)
|
215
215
|
|
216
216
|
Convert File to Thumbnail Image
|
217
217
|
|
@@ -259,7 +259,7 @@ Name | Type | Description | Notes
|
|
259
259
|
|
260
260
|
### Return type
|
261
261
|
|
262
|
-
**
|
262
|
+
**String**
|
263
263
|
|
264
264
|
### Authorization
|
265
265
|
|
@@ -837,7 +837,7 @@ Name | Type | Description | Notes
|
|
837
837
|
|
838
838
|
|
839
839
|
# **convert_document_eml_to_pdf**
|
840
|
-
>
|
840
|
+
> String convert_document_eml_to_pdf(input_file, opts)
|
841
841
|
|
842
842
|
Convert Email EML file to PDF document
|
843
843
|
|
@@ -881,7 +881,7 @@ Name | Type | Description | Notes
|
|
881
881
|
|
882
882
|
### Return type
|
883
883
|
|
884
|
-
**
|
884
|
+
**String**
|
885
885
|
|
886
886
|
### Authorization
|
887
887
|
|
@@ -895,7 +895,7 @@ Name | Type | Description | Notes
|
|
895
895
|
|
896
896
|
|
897
897
|
# **convert_document_get_file_type_icon**
|
898
|
-
>
|
898
|
+
> String convert_document_get_file_type_icon(file_extension, opts)
|
899
899
|
|
900
900
|
Get PNG icon file for the file extension
|
901
901
|
|
@@ -939,7 +939,7 @@ Name | Type | Description | Notes
|
|
939
939
|
|
940
940
|
### Return type
|
941
941
|
|
942
|
-
**
|
942
|
+
**String**
|
943
943
|
|
944
944
|
### Authorization
|
945
945
|
|
@@ -1233,7 +1233,7 @@ Name | Type | Description | Notes
|
|
1233
1233
|
|
1234
1234
|
|
1235
1235
|
# **convert_document_msg_to_pdf**
|
1236
|
-
>
|
1236
|
+
> String convert_document_msg_to_pdf(input_file, opts)
|
1237
1237
|
|
1238
1238
|
Convert Email MSG file to PDF document
|
1239
1239
|
|
@@ -1277,7 +1277,7 @@ Name | Type | Description | Notes
|
|
1277
1277
|
|
1278
1278
|
### Return type
|
1279
1279
|
|
1280
|
-
**
|
1280
|
+
**String**
|
1281
1281
|
|
1282
1282
|
### Authorization
|
1283
1283
|
|
data/docs/EmlToHtmlResult.md
CHANGED
@@ -9,10 +9,8 @@ Name | Type | Description | Notes
|
|
9
9
|
**from** | **String** | The From sender of the EML file's email | [optional]
|
10
10
|
**to** | **String** | The To recipients of the EML file's email | [optional]
|
11
11
|
**cc** | **String** | The CC recipients of the EML file's email | [optional]
|
12
|
-
**
|
13
|
-
**received_time** | **String** | The time that the EML file's email was received | [optional]
|
12
|
+
**date_sent** | **String** | The date and time that the EML file's email was sent | [optional]
|
14
13
|
**subject** | **String** | The subject of the EML file's email | [optional]
|
15
|
-
**organization** | **String** | The Organization of the EML file's email | [optional]
|
16
14
|
**attachments** | [**Array<EmlAttachment>**](EmlAttachment.md) | List of all attachments for the EML file | [optional]
|
17
15
|
|
18
16
|
|
@@ -195,7 +195,7 @@ module CloudmersiveConvertApiClient
|
|
195
195
|
# @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
196
196
|
# @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
197
197
|
# @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
|
198
|
-
# @return [
|
198
|
+
# @return [String]
|
199
199
|
def convert_document_autodetect_to_thumbnail(input_file, opts = {})
|
200
200
|
data, _status_code, _headers = convert_document_autodetect_to_thumbnail_with_http_info(input_file, opts)
|
201
201
|
return data
|
@@ -208,7 +208,7 @@ module CloudmersiveConvertApiClient
|
|
208
208
|
# @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
209
209
|
# @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
210
210
|
# @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
|
211
|
-
# @return [Array<(
|
211
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
212
212
|
def convert_document_autodetect_to_thumbnail_with_http_info(input_file, opts = {})
|
213
213
|
if @api_client.config.debugging
|
214
214
|
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_thumbnail ..."
|
@@ -246,7 +246,7 @@ module CloudmersiveConvertApiClient
|
|
246
246
|
:form_params => form_params,
|
247
247
|
:body => post_body,
|
248
248
|
:auth_names => auth_names,
|
249
|
-
:return_type => '
|
249
|
+
:return_type => 'String')
|
250
250
|
if @api_client.config.debugging
|
251
251
|
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_thumbnail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
252
252
|
end
|
@@ -842,7 +842,7 @@ module CloudmersiveConvertApiClient
|
|
842
842
|
# @param input_file Input file to perform the operation on.
|
843
843
|
# @param [Hash] opts the optional parameters
|
844
844
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
845
|
-
# @return [
|
845
|
+
# @return [String]
|
846
846
|
def convert_document_eml_to_pdf(input_file, opts = {})
|
847
847
|
data, _status_code, _headers = convert_document_eml_to_pdf_with_http_info(input_file, opts)
|
848
848
|
return data
|
@@ -853,7 +853,7 @@ module CloudmersiveConvertApiClient
|
|
853
853
|
# @param input_file Input file to perform the operation on.
|
854
854
|
# @param [Hash] opts the optional parameters
|
855
855
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
856
|
-
# @return [Array<(
|
856
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
857
857
|
def convert_document_eml_to_pdf_with_http_info(input_file, opts = {})
|
858
858
|
if @api_client.config.debugging
|
859
859
|
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_eml_to_pdf ..."
|
@@ -889,7 +889,7 @@ module CloudmersiveConvertApiClient
|
|
889
889
|
:form_params => form_params,
|
890
890
|
:body => post_body,
|
891
891
|
:auth_names => auth_names,
|
892
|
-
:return_type => '
|
892
|
+
:return_type => 'String')
|
893
893
|
if @api_client.config.debugging
|
894
894
|
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_eml_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
895
895
|
end
|
@@ -901,7 +901,7 @@ module CloudmersiveConvertApiClient
|
|
901
901
|
# @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
|
902
902
|
# @param [Hash] opts the optional parameters
|
903
903
|
# @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
|
904
|
-
# @return [
|
904
|
+
# @return [String]
|
905
905
|
def convert_document_get_file_type_icon(file_extension, opts = {})
|
906
906
|
data, _status_code, _headers = convert_document_get_file_type_icon_with_http_info(file_extension, opts)
|
907
907
|
return data
|
@@ -912,7 +912,7 @@ module CloudmersiveConvertApiClient
|
|
912
912
|
# @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
|
913
913
|
# @param [Hash] opts the optional parameters
|
914
914
|
# @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
|
915
|
-
# @return [Array<(
|
915
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
916
916
|
def convert_document_get_file_type_icon_with_http_info(file_extension, opts = {})
|
917
917
|
if @api_client.config.debugging
|
918
918
|
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_get_file_type_icon ..."
|
@@ -946,7 +946,7 @@ module CloudmersiveConvertApiClient
|
|
946
946
|
:form_params => form_params,
|
947
947
|
:body => post_body,
|
948
948
|
:auth_names => auth_names,
|
949
|
-
:return_type => '
|
949
|
+
:return_type => 'String')
|
950
950
|
if @api_client.config.debugging
|
951
951
|
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_get_file_type_icon\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
952
952
|
end
|
@@ -979,7 +979,7 @@ module CloudmersiveConvertApiClient
|
|
979
979
|
fail ArgumentError, "Missing the required parameter 'file_extension' when calling ConvertDocumentApi.convert_document_get_file_type_icon_advanced"
|
980
980
|
end
|
981
981
|
# resource path
|
982
|
-
local_var_path = "/convert/autodetect/get-icon
|
982
|
+
local_var_path = "/convert/autodetect/get-icon/advanced"
|
983
983
|
|
984
984
|
# query parameters
|
985
985
|
query_params = {}
|
@@ -1245,7 +1245,7 @@ module CloudmersiveConvertApiClient
|
|
1245
1245
|
# @param input_file Input file to perform the operation on.
|
1246
1246
|
# @param [Hash] opts the optional parameters
|
1247
1247
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
1248
|
-
# @return [
|
1248
|
+
# @return [String]
|
1249
1249
|
def convert_document_msg_to_pdf(input_file, opts = {})
|
1250
1250
|
data, _status_code, _headers = convert_document_msg_to_pdf_with_http_info(input_file, opts)
|
1251
1251
|
return data
|
@@ -1256,7 +1256,7 @@ module CloudmersiveConvertApiClient
|
|
1256
1256
|
# @param input_file Input file to perform the operation on.
|
1257
1257
|
# @param [Hash] opts the optional parameters
|
1258
1258
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
1259
|
-
# @return [Array<(
|
1259
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1260
1260
|
def convert_document_msg_to_pdf_with_http_info(input_file, opts = {})
|
1261
1261
|
if @api_client.config.debugging
|
1262
1262
|
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_msg_to_pdf ..."
|
@@ -1292,7 +1292,7 @@ module CloudmersiveConvertApiClient
|
|
1292
1292
|
:form_params => form_params,
|
1293
1293
|
:body => post_body,
|
1294
1294
|
:auth_names => auth_names,
|
1295
|
-
:return_type => '
|
1295
|
+
:return_type => 'String')
|
1296
1296
|
if @api_client.config.debugging
|
1297
1297
|
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_msg_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1298
1298
|
end
|
@@ -33,18 +33,12 @@ module CloudmersiveConvertApiClient
|
|
33
33
|
# The CC recipients of the EML file's email
|
34
34
|
attr_accessor :cc
|
35
35
|
|
36
|
-
# The
|
37
|
-
attr_accessor :
|
38
|
-
|
39
|
-
# The time that the EML file's email was received
|
40
|
-
attr_accessor :received_time
|
36
|
+
# The date and time that the EML file's email was sent
|
37
|
+
attr_accessor :date_sent
|
41
38
|
|
42
39
|
# The subject of the EML file's email
|
43
40
|
attr_accessor :subject
|
44
41
|
|
45
|
-
# The Organization of the EML file's email
|
46
|
-
attr_accessor :organization
|
47
|
-
|
48
42
|
# List of all attachments for the EML file
|
49
43
|
attr_accessor :attachments
|
50
44
|
|
@@ -58,10 +52,8 @@ module CloudmersiveConvertApiClient
|
|
58
52
|
:'from' => :'From',
|
59
53
|
:'to' => :'To',
|
60
54
|
:'cc' => :'Cc',
|
61
|
-
:'
|
62
|
-
:'received_time' => :'ReceivedTime',
|
55
|
+
:'date_sent' => :'DateSent',
|
63
56
|
:'subject' => :'Subject',
|
64
|
-
:'organization' => :'Organization',
|
65
57
|
:'attachments' => :'Attachments'
|
66
58
|
}
|
67
59
|
end
|
@@ -75,10 +67,8 @@ module CloudmersiveConvertApiClient
|
|
75
67
|
:'from' => :'String',
|
76
68
|
:'to' => :'String',
|
77
69
|
:'cc' => :'String',
|
78
|
-
:'
|
79
|
-
:'received_time' => :'String',
|
70
|
+
:'date_sent' => :'String',
|
80
71
|
:'subject' => :'String',
|
81
|
-
:'organization' => :'String',
|
82
72
|
:'attachments' => :'Array<EmlAttachment>'
|
83
73
|
}
|
84
74
|
end
|
@@ -115,22 +105,14 @@ module CloudmersiveConvertApiClient
|
|
115
105
|
self.cc = attributes[:'Cc']
|
116
106
|
end
|
117
107
|
|
118
|
-
if attributes.has_key?(:'
|
119
|
-
self.
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes.has_key?(:'ReceivedTime')
|
123
|
-
self.received_time = attributes[:'ReceivedTime']
|
108
|
+
if attributes.has_key?(:'DateSent')
|
109
|
+
self.date_sent = attributes[:'DateSent']
|
124
110
|
end
|
125
111
|
|
126
112
|
if attributes.has_key?(:'Subject')
|
127
113
|
self.subject = attributes[:'Subject']
|
128
114
|
end
|
129
115
|
|
130
|
-
if attributes.has_key?(:'Organization')
|
131
|
-
self.organization = attributes[:'Organization']
|
132
|
-
end
|
133
|
-
|
134
116
|
if attributes.has_key?(:'Attachments')
|
135
117
|
if (value = attributes[:'Attachments']).is_a?(Array)
|
136
118
|
self.attachments = value
|
@@ -163,10 +145,8 @@ module CloudmersiveConvertApiClient
|
|
163
145
|
from == o.from &&
|
164
146
|
to == o.to &&
|
165
147
|
cc == o.cc &&
|
166
|
-
|
167
|
-
received_time == o.received_time &&
|
148
|
+
date_sent == o.date_sent &&
|
168
149
|
subject == o.subject &&
|
169
|
-
organization == o.organization &&
|
170
150
|
attachments == o.attachments
|
171
151
|
end
|
172
152
|
|
@@ -179,7 +159,7 @@ module CloudmersiveConvertApiClient
|
|
179
159
|
# Calculates hash code according to all attributes.
|
180
160
|
# @return [Fixnum] Hash code
|
181
161
|
def hash
|
182
|
-
[successful, content, body, from, to, cc,
|
162
|
+
[successful, content, body, from, to, cc, date_sent, subject, attachments].hash
|
183
163
|
end
|
184
164
|
|
185
165
|
# Builds the object from hash
|
@@ -76,7 +76,7 @@ describe 'ConvertDocumentApi' do
|
|
76
76
|
# @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
77
77
|
# @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
|
78
78
|
# @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
|
79
|
-
# @return [
|
79
|
+
# @return [String]
|
80
80
|
describe 'convert_document_autodetect_to_thumbnail test' do
|
81
81
|
it "should work" do
|
82
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -217,7 +217,7 @@ describe 'ConvertDocumentApi' do
|
|
217
217
|
# @param input_file Input file to perform the operation on.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
219
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
220
|
-
# @return [
|
220
|
+
# @return [String]
|
221
221
|
describe 'convert_document_eml_to_pdf test' do
|
222
222
|
it "should work" do
|
223
223
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -230,7 +230,7 @@ describe 'ConvertDocumentApi' do
|
|
230
230
|
# @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
|
231
231
|
# @param [Hash] opts the optional parameters
|
232
232
|
# @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
|
233
|
-
# @return [
|
233
|
+
# @return [String]
|
234
234
|
describe 'convert_document_get_file_type_icon test' do
|
235
235
|
it "should work" do
|
236
236
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -306,7 +306,7 @@ describe 'ConvertDocumentApi' do
|
|
306
306
|
# @param input_file Input file to perform the operation on.
|
307
307
|
# @param [Hash] opts the optional parameters
|
308
308
|
# @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
|
309
|
-
# @return [
|
309
|
+
# @return [String]
|
310
310
|
describe 'convert_document_msg_to_pdf test' do
|
311
311
|
it "should work" do
|
312
312
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,13 +68,7 @@ describe 'EmlToHtmlResult' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'test attribute "received_time"' do
|
71
|
+
describe 'test attribute "date_sent"' do
|
78
72
|
it 'should work' do
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
74
|
end
|
@@ -86,12 +80,6 @@ describe 'EmlToHtmlResult' do
|
|
86
80
|
end
|
87
81
|
end
|
88
82
|
|
89
|
-
describe 'test attribute "organization"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
83
|
describe 'test attribute "attachments"' do
|
96
84
|
it 'should work' do
|
97
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-convert-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|