cloudmersive-convert-api-client 1.3.2 → 1.3.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.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/cloudmersive-convert-api-client.gemspec +1 -1
  4. data/docs/ConvertDataApi.md +110 -0
  5. data/docs/ConvertImageApi.md +4 -4
  6. data/lib/cloudmersive-convert-api-client.rb +1 -1
  7. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
  8. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +113 -1
  9. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +1 -1
  10. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +5 -5
  11. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
  12. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +1 -1
  13. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
  14. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +1 -1
  15. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
  16. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
  17. data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
  18. data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
  19. data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
  20. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
  21. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
  22. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
  23. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
  24. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
  25. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
  26. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
  27. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
  28. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
  29. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
  30. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
  31. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
  32. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
  33. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
  34. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
  35. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
  36. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
  37. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
  38. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
  39. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
  40. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
  41. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
  42. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
  43. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
  44. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
  45. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
  46. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
  47. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
  48. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
  49. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
  50. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
  51. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
  52. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
  53. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
  54. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
  55. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
  56. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
  57. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
  58. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
  59. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
  60. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
  61. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
  62. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
  63. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
  64. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
  65. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
  66. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
  67. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
  68. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
  69. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
  70. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
  71. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
  72. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
  73. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
  74. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
  75. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
  76. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
  77. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
  78. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
  79. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
  80. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
  81. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
  82. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
  83. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
  84. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
  85. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
  86. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
  87. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
  88. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
  89. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
  90. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
  91. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
  92. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
  93. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
  94. data/lib/cloudmersive-convert-api-client/version.rb +2 -2
  95. data/spec/api/compare_document_api_spec.rb +48 -48
  96. data/spec/api/convert_data_api_spec.rb +59 -59
  97. data/spec/api/convert_document_api_spec.rb +203 -203
  98. data/spec/api/convert_image_api_spec.rb +74 -74
  99. data/spec/api/convert_template_api_spec.rb +47 -47
  100. data/spec/api/convert_web_api_spec.rb +95 -95
  101. data/spec/api/edit_document_api_spec.rb +311 -311
  102. data/spec/api/merge_document_api_spec.rb +74 -74
  103. data/spec/api/validate_document_api_spec.rb +71 -71
  104. data/spec/api/viewer_tools_api_spec.rb +47 -47
  105. data/spec/api_client_spec.rb +226 -226
  106. data/spec/configuration_spec.rb +42 -42
  107. data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
  108. data/spec/models/autodetect_get_info_result_spec.rb +60 -60
  109. data/spec/models/converted_png_page_spec.rb +48 -48
  110. data/spec/models/document_validation_error_spec.rb +60 -60
  111. data/spec/models/document_validation_result_spec.rb +60 -60
  112. data/spec/models/docx_body_spec.rb +54 -54
  113. data/spec/models/docx_cell_style_spec.rb +60 -60
  114. data/spec/models/docx_footer_spec.rb +54 -54
  115. data/spec/models/docx_header_spec.rb +54 -54
  116. data/spec/models/docx_image_spec.rb +114 -114
  117. data/spec/models/docx_insert_image_request_spec.rb +78 -78
  118. data/spec/models/docx_insert_image_response_spec.rb +48 -48
  119. data/spec/models/docx_paragraph_spec.rb +60 -60
  120. data/spec/models/docx_remove_object_request_spec.rb +54 -54
  121. data/spec/models/docx_remove_object_response_spec.rb +48 -48
  122. data/spec/models/docx_run_spec.rb +84 -84
  123. data/spec/models/docx_section_spec.rb +48 -48
  124. data/spec/models/docx_set_footer_request_spec.rb +54 -54
  125. data/spec/models/docx_set_footer_response_spec.rb +48 -48
  126. data/spec/models/docx_set_header_request_spec.rb +54 -54
  127. data/spec/models/docx_set_header_response_spec.rb +48 -48
  128. data/spec/models/docx_style_spec.rb +78 -78
  129. data/spec/models/docx_table_cell_spec.rb +84 -84
  130. data/spec/models/docx_table_row_spec.rb +54 -54
  131. data/spec/models/docx_table_spec.rb +270 -270
  132. data/spec/models/docx_text_spec.rb +54 -54
  133. data/spec/models/exif_value_spec.rb +54 -54
  134. data/spec/models/finish_editing_request_spec.rb +42 -42
  135. data/spec/models/get_docx_body_request_spec.rb +48 -48
  136. data/spec/models/get_docx_body_response_spec.rb +48 -48
  137. data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
  138. data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
  139. data/spec/models/get_docx_images_request_spec.rb +48 -48
  140. data/spec/models/get_docx_images_response_spec.rb +48 -48
  141. data/spec/models/get_docx_sections_request_spec.rb +48 -48
  142. data/spec/models/get_docx_sections_response_spec.rb +48 -48
  143. data/spec/models/get_docx_styles_request_spec.rb +48 -48
  144. data/spec/models/get_docx_styles_response_spec.rb +48 -48
  145. data/spec/models/get_docx_tables_request_spec.rb +48 -48
  146. data/spec/models/get_docx_tables_response_spec.rb +48 -48
  147. data/spec/models/get_image_info_result_spec.rb +138 -138
  148. data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
  149. data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
  150. data/spec/models/get_xlsx_images_request_spec.rb +54 -54
  151. data/spec/models/get_xlsx_images_response_spec.rb +48 -48
  152. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
  153. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
  154. data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
  155. data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
  156. data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
  157. data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
  158. data/spec/models/html_md_result_spec.rb +48 -48
  159. data/spec/models/html_template_application_request_spec.rb +54 -54
  160. data/spec/models/html_template_application_response_spec.rb +48 -48
  161. data/spec/models/html_template_operation_spec.rb +58 -58
  162. data/spec/models/html_to_office_request_spec.rb +42 -42
  163. data/spec/models/html_to_pdf_request_spec.rb +48 -48
  164. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
  165. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
  166. data/spec/models/insert_docx_tables_request_spec.rb +66 -66
  167. data/spec/models/insert_docx_tables_response_spec.rb +48 -48
  168. data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
  169. data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
  170. data/spec/models/pdf_to_png_result_spec.rb +48 -48
  171. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
  172. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
  173. data/spec/models/replace_string_request_spec.rb +66 -66
  174. data/spec/models/screenshot_request_spec.rb +60 -60
  175. data/spec/models/viewer_response_spec.rb +48 -48
  176. data/spec/models/xlsx_image_spec.rb +66 -66
  177. data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
  178. data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
  179. data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
  180. data/spec/models/xlsx_worksheet_spec.rb +48 -48
  181. data/spec/spec_helper.rb +111 -111
  182. 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