cloudmersive-convert-api-client 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/cloudmersive-convert-api-client.gemspec +1 -1
- data/docs/ConvertDataApi.md +110 -0
- data/docs/ConvertImageApi.md +4 -4
- data/lib/cloudmersive-convert-api-client.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +113 -1
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +5 -5
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
- data/lib/cloudmersive-convert-api-client/version.rb +2 -2
- data/spec/api/compare_document_api_spec.rb +48 -48
- data/spec/api/convert_data_api_spec.rb +59 -59
- data/spec/api/convert_document_api_spec.rb +203 -203
- data/spec/api/convert_image_api_spec.rb +74 -74
- data/spec/api/convert_template_api_spec.rb +47 -47
- data/spec/api/convert_web_api_spec.rb +95 -95
- data/spec/api/edit_document_api_spec.rb +311 -311
- data/spec/api/merge_document_api_spec.rb +74 -74
- data/spec/api/validate_document_api_spec.rb +71 -71
- data/spec/api/viewer_tools_api_spec.rb +47 -47
- data/spec/api_client_spec.rb +226 -226
- data/spec/configuration_spec.rb +42 -42
- data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
- data/spec/models/autodetect_get_info_result_spec.rb +60 -60
- data/spec/models/converted_png_page_spec.rb +48 -48
- data/spec/models/document_validation_error_spec.rb +60 -60
- data/spec/models/document_validation_result_spec.rb +60 -60
- data/spec/models/docx_body_spec.rb +54 -54
- data/spec/models/docx_cell_style_spec.rb +60 -60
- data/spec/models/docx_footer_spec.rb +54 -54
- data/spec/models/docx_header_spec.rb +54 -54
- data/spec/models/docx_image_spec.rb +114 -114
- data/spec/models/docx_insert_image_request_spec.rb +78 -78
- data/spec/models/docx_insert_image_response_spec.rb +48 -48
- data/spec/models/docx_paragraph_spec.rb +60 -60
- data/spec/models/docx_remove_object_request_spec.rb +54 -54
- data/spec/models/docx_remove_object_response_spec.rb +48 -48
- data/spec/models/docx_run_spec.rb +84 -84
- data/spec/models/docx_section_spec.rb +48 -48
- data/spec/models/docx_set_footer_request_spec.rb +54 -54
- data/spec/models/docx_set_footer_response_spec.rb +48 -48
- data/spec/models/docx_set_header_request_spec.rb +54 -54
- data/spec/models/docx_set_header_response_spec.rb +48 -48
- data/spec/models/docx_style_spec.rb +78 -78
- data/spec/models/docx_table_cell_spec.rb +84 -84
- data/spec/models/docx_table_row_spec.rb +54 -54
- data/spec/models/docx_table_spec.rb +270 -270
- data/spec/models/docx_text_spec.rb +54 -54
- data/spec/models/exif_value_spec.rb +54 -54
- data/spec/models/finish_editing_request_spec.rb +42 -42
- data/spec/models/get_docx_body_request_spec.rb +48 -48
- data/spec/models/get_docx_body_response_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
- data/spec/models/get_docx_images_request_spec.rb +48 -48
- data/spec/models/get_docx_images_response_spec.rb +48 -48
- data/spec/models/get_docx_sections_request_spec.rb +48 -48
- data/spec/models/get_docx_sections_response_spec.rb +48 -48
- data/spec/models/get_docx_styles_request_spec.rb +48 -48
- data/spec/models/get_docx_styles_response_spec.rb +48 -48
- data/spec/models/get_docx_tables_request_spec.rb +48 -48
- data/spec/models/get_docx_tables_response_spec.rb +48 -48
- data/spec/models/get_image_info_result_spec.rb +138 -138
- data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
- data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
- data/spec/models/get_xlsx_images_request_spec.rb +54 -54
- data/spec/models/get_xlsx_images_response_spec.rb +48 -48
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
- data/spec/models/html_md_result_spec.rb +48 -48
- data/spec/models/html_template_application_request_spec.rb +54 -54
- data/spec/models/html_template_application_response_spec.rb +48 -48
- data/spec/models/html_template_operation_spec.rb +58 -58
- data/spec/models/html_to_office_request_spec.rb +42 -42
- data/spec/models/html_to_pdf_request_spec.rb +48 -48
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
- data/spec/models/insert_docx_tables_request_spec.rb +66 -66
- data/spec/models/insert_docx_tables_response_spec.rb +48 -48
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
- data/spec/models/pdf_to_png_result_spec.rb +48 -48
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
- data/spec/models/replace_string_request_spec.rb +66 -66
- data/spec/models/screenshot_request_spec.rb +60 -60
- data/spec/models/viewer_response_spec.rb +48 -48
- data/spec/models/xlsx_image_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
- data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
- data/spec/models/xlsx_worksheet_spec.rb +48 -48
- data/spec/spec_helper.rb +111 -111
- metadata +15 -16
@@ -1,59 +1,59 @@
|
|
1
|
-
=begin
|
2
|
-
#convertapi
|
3
|
-
|
4
|
-
#Convert API lets you effortlessly convert file formats and types.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveConvertApiClient::ConvertDataApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'ConvertDataApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of ConvertDataApi' do
|
30
|
-
it 'should create an instance of ConvertDataApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDataApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for convert_data_csv_to_json
|
36
|
-
# CSV to JSON conversion
|
37
|
-
# Convert a CSV file to a JSON object array
|
38
|
-
# @param input_file Input file to perform the operation on.
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [Object]
|
41
|
-
describe 'convert_data_csv_to_json test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# unit tests for convert_data_xml_to_json
|
48
|
-
# XML to JSON conversion
|
49
|
-
# Convert an XML string or file into JSON
|
50
|
-
# @param input_file Input file to perform the operation on.
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [Object]
|
53
|
-
describe 'convert_data_xml_to_json test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CloudmersiveConvertApiClient::ConvertDataApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ConvertDataApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ConvertDataApi' do
|
30
|
+
it 'should create an instance of ConvertDataApi' do
|
31
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDataApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for convert_data_csv_to_json
|
36
|
+
# CSV to JSON conversion
|
37
|
+
# Convert a CSV file to a JSON object array
|
38
|
+
# @param input_file Input file to perform the operation on.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Object]
|
41
|
+
describe 'convert_data_csv_to_json test' do
|
42
|
+
it "should work" do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for convert_data_xml_to_json
|
48
|
+
# XML to JSON conversion
|
49
|
+
# Convert an XML string or file into JSON
|
50
|
+
# @param input_file Input file to perform the operation on.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Object]
|
53
|
+
describe 'convert_data_xml_to_json test' do
|
54
|
+
it "should work" do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -1,203 +1,203 @@
|
|
1
|
-
=begin
|
2
|
-
#convertapi
|
3
|
-
|
4
|
-
#Convert API lets you effortlessly convert file formats and types.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveConvertApiClient::ConvertDocumentApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'ConvertDocumentApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of ConvertDocumentApi' do
|
30
|
-
it 'should create an instance of ConvertDocumentApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDocumentApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for convert_document_autodetect_get_info
|
36
|
-
# Get document type information
|
37
|
-
# Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type.
|
38
|
-
# @param input_file Input file to perform the operation on.
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [AutodetectGetInfoResult]
|
41
|
-
describe 'convert_document_autodetect_get_info test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# unit tests for convert_document_autodetect_to_pdf
|
48
|
-
# Convert Document to PDF
|
49
|
-
# Automatically detect file type and convert it to PDF.
|
50
|
-
# @param input_file Input file to perform the operation on.
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [String]
|
53
|
-
describe 'convert_document_autodetect_to_pdf test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for convert_document_csv_to_xlsx
|
60
|
-
# CSV to Excel XLSX
|
61
|
-
# Convert CSV file to Office Excel XLSX Workbooks file format.
|
62
|
-
# @param input_file Input file to perform the operation on.
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [String]
|
65
|
-
describe 'convert_document_csv_to_xlsx test' do
|
66
|
-
it "should work" do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for convert_document_doc_to_docx
|
72
|
-
# Word DOC (97-03) to DOCX
|
73
|
-
# Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
|
74
|
-
# @param input_file Input file to perform the operation on.
|
75
|
-
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [String]
|
77
|
-
describe 'convert_document_doc_to_docx test' do
|
78
|
-
it "should work" do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# unit tests for convert_document_doc_to_pdf
|
84
|
-
# Word DOC (97-03) to PDF
|
85
|
-
# Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
|
86
|
-
# @param input_file Input file to perform the operation on.
|
87
|
-
# @param [Hash] opts the optional parameters
|
88
|
-
# @return [String]
|
89
|
-
describe 'convert_document_doc_to_pdf test' 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
|
-
# unit tests for convert_document_docx_to_pdf
|
96
|
-
# Word DOCX to PDF
|
97
|
-
# Convert Office Word Documents (docx) to standard PDF
|
98
|
-
# @param input_file Input file to perform the operation on.
|
99
|
-
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [String]
|
101
|
-
describe 'convert_document_docx_to_pdf test' do
|
102
|
-
it "should work" do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
# unit tests for convert_document_pdf_to_png_array
|
108
|
-
# PDF to PNG Array
|
109
|
-
# Convert PDF document to PNG array, one image per page.
|
110
|
-
# @param input_file Input file to perform the operation on.
|
111
|
-
# @param [Hash] opts the optional parameters
|
112
|
-
# @return [PdfToPngResult]
|
113
|
-
describe 'convert_document_pdf_to_png_array test' do
|
114
|
-
it "should work" do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
# unit tests for convert_document_ppt_to_pdf
|
120
|
-
# PowerPoint PPT (97-03) to PDF
|
121
|
-
# Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
|
122
|
-
# @param input_file Input file to perform the operation on.
|
123
|
-
# @param [Hash] opts the optional parameters
|
124
|
-
# @return [String]
|
125
|
-
describe 'convert_document_ppt_to_pdf test' do
|
126
|
-
it "should work" do
|
127
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
# unit tests for convert_document_ppt_to_pptx
|
132
|
-
# PowerPoint PPT (97-03) to PPTX
|
133
|
-
# Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
|
134
|
-
# @param input_file Input file to perform the operation on.
|
135
|
-
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [String]
|
137
|
-
describe 'convert_document_ppt_to_pptx test' do
|
138
|
-
it "should work" do
|
139
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
# unit tests for convert_document_pptx_to_pdf
|
144
|
-
# PowerPoint PPTX to PDF
|
145
|
-
# Convert Office PowerPoint Documents (pptx) to standard PDF
|
146
|
-
# @param input_file Input file to perform the operation on.
|
147
|
-
# @param [Hash] opts the optional parameters
|
148
|
-
# @return [String]
|
149
|
-
describe 'convert_document_pptx_to_pdf test' do
|
150
|
-
it "should work" do
|
151
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
|
-
# unit tests for convert_document_xls_to_pdf
|
156
|
-
# Excel XLS (97-03) to PDF
|
157
|
-
# Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
|
158
|
-
# @param input_file Input file to perform the operation on.
|
159
|
-
# @param [Hash] opts the optional parameters
|
160
|
-
# @return [Object]
|
161
|
-
describe 'convert_document_xls_to_pdf test' do
|
162
|
-
it "should work" do
|
163
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
-
end
|
165
|
-
end
|
166
|
-
|
167
|
-
# unit tests for convert_document_xls_to_xlsx
|
168
|
-
# Excel XLS (97-03) to XLSX
|
169
|
-
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
|
170
|
-
# @param input_file Input file to perform the operation on.
|
171
|
-
# @param [Hash] opts the optional parameters
|
172
|
-
# @return [String]
|
173
|
-
describe 'convert_document_xls_to_xlsx test' do
|
174
|
-
it "should work" do
|
175
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
-
end
|
177
|
-
end
|
178
|
-
|
179
|
-
# unit tests for convert_document_xlsx_to_csv
|
180
|
-
# Excel XLSX to CSV
|
181
|
-
# Convert Office Excel Workbooks (xlsx) to standard Comma-Separated Values (CSV) format.
|
182
|
-
# @param input_file Input file to perform the operation on.
|
183
|
-
# @param [Hash] opts the optional parameters
|
184
|
-
# @return [String]
|
185
|
-
describe 'convert_document_xlsx_to_csv test' do
|
186
|
-
it "should work" do
|
187
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
# unit tests for convert_document_xlsx_to_pdf
|
192
|
-
# Excel XLSX to PDF
|
193
|
-
# Convert Office Excel Workbooks (xlsx) to standard PDF. Converts all worksheets in the workbook to PDF.
|
194
|
-
# @param input_file Input file to perform the operation on.
|
195
|
-
# @param [Hash] opts the optional parameters
|
196
|
-
# @return [String]
|
197
|
-
describe 'convert_document_xlsx_to_pdf test' do
|
198
|
-
it "should work" do
|
199
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
end
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CloudmersiveConvertApiClient::ConvertDocumentApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ConvertDocumentApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ConvertDocumentApi' do
|
30
|
+
it 'should create an instance of ConvertDocumentApi' do
|
31
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDocumentApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for convert_document_autodetect_get_info
|
36
|
+
# Get document type information
|
37
|
+
# Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type.
|
38
|
+
# @param input_file Input file to perform the operation on.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AutodetectGetInfoResult]
|
41
|
+
describe 'convert_document_autodetect_get_info test' do
|
42
|
+
it "should work" do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for convert_document_autodetect_to_pdf
|
48
|
+
# Convert Document to PDF
|
49
|
+
# Automatically detect file type and convert it to PDF.
|
50
|
+
# @param input_file Input file to perform the operation on.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [String]
|
53
|
+
describe 'convert_document_autodetect_to_pdf test' do
|
54
|
+
it "should work" do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for convert_document_csv_to_xlsx
|
60
|
+
# CSV to Excel XLSX
|
61
|
+
# Convert CSV file to Office Excel XLSX Workbooks file format.
|
62
|
+
# @param input_file Input file to perform the operation on.
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [String]
|
65
|
+
describe 'convert_document_csv_to_xlsx test' do
|
66
|
+
it "should work" do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for convert_document_doc_to_docx
|
72
|
+
# Word DOC (97-03) to DOCX
|
73
|
+
# Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
|
74
|
+
# @param input_file Input file to perform the operation on.
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [String]
|
77
|
+
describe 'convert_document_doc_to_docx test' do
|
78
|
+
it "should work" do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for convert_document_doc_to_pdf
|
84
|
+
# Word DOC (97-03) to PDF
|
85
|
+
# Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
|
86
|
+
# @param input_file Input file to perform the operation on.
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [String]
|
89
|
+
describe 'convert_document_doc_to_pdf test' 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
|
+
# unit tests for convert_document_docx_to_pdf
|
96
|
+
# Word DOCX to PDF
|
97
|
+
# Convert Office Word Documents (docx) to standard PDF
|
98
|
+
# @param input_file Input file to perform the operation on.
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [String]
|
101
|
+
describe 'convert_document_docx_to_pdf test' do
|
102
|
+
it "should work" do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for convert_document_pdf_to_png_array
|
108
|
+
# PDF to PNG Array
|
109
|
+
# Convert PDF document to PNG array, one image per page.
|
110
|
+
# @param input_file Input file to perform the operation on.
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [PdfToPngResult]
|
113
|
+
describe 'convert_document_pdf_to_png_array test' do
|
114
|
+
it "should work" do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for convert_document_ppt_to_pdf
|
120
|
+
# PowerPoint PPT (97-03) to PDF
|
121
|
+
# Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
|
122
|
+
# @param input_file Input file to perform the operation on.
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @return [String]
|
125
|
+
describe 'convert_document_ppt_to_pdf test' do
|
126
|
+
it "should work" do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# unit tests for convert_document_ppt_to_pptx
|
132
|
+
# PowerPoint PPT (97-03) to PPTX
|
133
|
+
# Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
|
134
|
+
# @param input_file Input file to perform the operation on.
|
135
|
+
# @param [Hash] opts the optional parameters
|
136
|
+
# @return [String]
|
137
|
+
describe 'convert_document_ppt_to_pptx test' do
|
138
|
+
it "should work" do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# unit tests for convert_document_pptx_to_pdf
|
144
|
+
# PowerPoint PPTX to PDF
|
145
|
+
# Convert Office PowerPoint Documents (pptx) to standard PDF
|
146
|
+
# @param input_file Input file to perform the operation on.
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @return [String]
|
149
|
+
describe 'convert_document_pptx_to_pdf test' do
|
150
|
+
it "should work" do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# unit tests for convert_document_xls_to_pdf
|
156
|
+
# Excel XLS (97-03) to PDF
|
157
|
+
# Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
|
158
|
+
# @param input_file Input file to perform the operation on.
|
159
|
+
# @param [Hash] opts the optional parameters
|
160
|
+
# @return [Object]
|
161
|
+
describe 'convert_document_xls_to_pdf test' do
|
162
|
+
it "should work" do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# unit tests for convert_document_xls_to_xlsx
|
168
|
+
# Excel XLS (97-03) to XLSX
|
169
|
+
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
|
170
|
+
# @param input_file Input file to perform the operation on.
|
171
|
+
# @param [Hash] opts the optional parameters
|
172
|
+
# @return [String]
|
173
|
+
describe 'convert_document_xls_to_xlsx test' do
|
174
|
+
it "should work" do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# unit tests for convert_document_xlsx_to_csv
|
180
|
+
# Excel XLSX to CSV
|
181
|
+
# Convert Office Excel Workbooks (xlsx) to standard Comma-Separated Values (CSV) format.
|
182
|
+
# @param input_file Input file to perform the operation on.
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [String]
|
185
|
+
describe 'convert_document_xlsx_to_csv test' do
|
186
|
+
it "should work" do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# unit tests for convert_document_xlsx_to_pdf
|
192
|
+
# Excel XLSX to PDF
|
193
|
+
# Convert Office Excel Workbooks (xlsx) to standard PDF. Converts all worksheets in the workbook to PDF.
|
194
|
+
# @param input_file Input file to perform the operation on.
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [String]
|
197
|
+
describe 'convert_document_xlsx_to_pdf test' do
|
198
|
+
it "should work" do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|