cloudmersive-convert-api-client 2.2.6 → 2.2.7
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 -5
- data/docs/ConvertDataApi.md +60 -5
- data/docs/ConvertWebApi.md +8 -8
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +57 -4
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +8 -8
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/convert_data_api_spec.rb +14 -2
- 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: f936af52c5f251124e36d6cced85302479680c2efc51386811839670b4a36bb4
|
4
|
+
data.tar.gz: 7fe583dc28b8bbfba5f39de7e91e89678ec09079f5c44622915dc2943825117c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a40fd9bd6c2d864c10ac1e69a0779d8161f7d707a3f21ad936e4f4fa854f0a2012260ef7c880d3ec1be88660de5707354f8ac6404947508828d1b67ae78eaa2
|
7
|
+
data.tar.gz: 4000387251388b975fcd9ab0ee55dd9bf79154061bcf18f73a697ac4066460ad67fd06212f48092e3149814193b5bcc5ef565be23cab10c719601f7a44a0dbd2
|
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: 2.2.
|
10
|
+
- Package version: 2.2.7
|
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-2.2.
|
26
|
+
gem install ./cloudmersive-convert-api-client-2.2.7.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-2.2.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-2.2.7.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', '~> 2.2.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 2.2.7'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -88,7 +88,8 @@ Class | Method | HTTP request | Description
|
|
88
88
|
*CloudmersiveConvertApiClient::CompareDocumentApi* | [**compare_document_docx**](docs/CompareDocumentApi.md#compare_document_docx) | **POST** /convert/compare/docx | Compare Two Word DOCX
|
89
89
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_csv_to_json**](docs/ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | Convert CSV to JSON conversion
|
90
90
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_csv_to_xml**](docs/ConvertDataApi.md#convert_data_csv_to_xml) | **POST** /convert/csv/to/xml | Convert CSV to XML conversion
|
91
|
-
*CloudmersiveConvertApiClient::ConvertDataApi* | [**
|
91
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_json_string_to_xml**](docs/ConvertDataApi.md#convert_data_json_string_to_xml) | **POST** /convert/json-string/to/xml | Convert JSON String to XML conversion
|
92
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_json_to_xml**](docs/ConvertDataApi.md#convert_data_json_to_xml) | **POST** /convert/json/to/xml | Convert JSON Object to XML conversion
|
92
93
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xls_to_json**](docs/ConvertDataApi.md#convert_data_xls_to_json) | **POST** /convert/xls/to/json | Convert Excel (97-2003) XLS to JSON conversion
|
93
94
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xlsx_to_json**](docs/ConvertDataApi.md#convert_data_xlsx_to_json) | **POST** /convert/xlsx/to/json | Convert Excel XLSX to JSON conversion
|
94
95
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xlsx_to_xml**](docs/ConvertDataApi.md#convert_data_xlsx_to_xml) | **POST** /convert/xlsx/to/xml | Convert Excel XLSX to XML conversion
|
data/docs/ConvertDataApi.md
CHANGED
@@ -6,7 +6,8 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**convert_data_csv_to_json**](ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | Convert CSV to JSON conversion
|
8
8
|
[**convert_data_csv_to_xml**](ConvertDataApi.md#convert_data_csv_to_xml) | **POST** /convert/csv/to/xml | Convert CSV to XML conversion
|
9
|
-
[**
|
9
|
+
[**convert_data_json_string_to_xml**](ConvertDataApi.md#convert_data_json_string_to_xml) | **POST** /convert/json-string/to/xml | Convert JSON String to XML conversion
|
10
|
+
[**convert_data_json_to_xml**](ConvertDataApi.md#convert_data_json_to_xml) | **POST** /convert/json/to/xml | Convert JSON Object to XML conversion
|
10
11
|
[**convert_data_xls_to_json**](ConvertDataApi.md#convert_data_xls_to_json) | **POST** /convert/xls/to/json | Convert Excel (97-2003) XLS to JSON conversion
|
11
12
|
[**convert_data_xlsx_to_json**](ConvertDataApi.md#convert_data_xlsx_to_json) | **POST** /convert/xlsx/to/json | Convert Excel XLSX to JSON conversion
|
12
13
|
[**convert_data_xlsx_to_xml**](ConvertDataApi.md#convert_data_xlsx_to_xml) | **POST** /convert/xlsx/to/xml | Convert Excel XLSX to XML conversion
|
@@ -139,10 +140,64 @@ Name | Type | Description | Notes
|
|
139
140
|
|
140
141
|
|
141
142
|
|
143
|
+
# **convert_data_json_string_to_xml**
|
144
|
+
> Object convert_data_json_string_to_xml(json_string)
|
145
|
+
|
146
|
+
Convert JSON String to XML conversion
|
147
|
+
|
148
|
+
Convert a JSON object into XML
|
149
|
+
|
150
|
+
### Example
|
151
|
+
```ruby
|
152
|
+
# load the gem
|
153
|
+
require 'cloudmersive-convert-api-client'
|
154
|
+
# setup authorization
|
155
|
+
CloudmersiveConvertApiClient.configure do |config|
|
156
|
+
# Configure API key authorization: Apikey
|
157
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
158
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
159
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
160
|
+
end
|
161
|
+
|
162
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
163
|
+
|
164
|
+
json_string = 'json_string_example' # String | Input JSON String to convert to XML
|
165
|
+
|
166
|
+
|
167
|
+
begin
|
168
|
+
#Convert JSON String to XML conversion
|
169
|
+
result = api_instance.convert_data_json_string_to_xml(json_string)
|
170
|
+
p result
|
171
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
172
|
+
puts "Exception when calling ConvertDataApi->convert_data_json_string_to_xml: #{e}"
|
173
|
+
end
|
174
|
+
```
|
175
|
+
|
176
|
+
### Parameters
|
177
|
+
|
178
|
+
Name | Type | Description | Notes
|
179
|
+
------------- | ------------- | ------------- | -------------
|
180
|
+
**json_string** | **String**| Input JSON String to convert to XML |
|
181
|
+
|
182
|
+
### Return type
|
183
|
+
|
184
|
+
**Object**
|
185
|
+
|
186
|
+
### Authorization
|
187
|
+
|
188
|
+
[Apikey](../README.md#Apikey)
|
189
|
+
|
190
|
+
### HTTP request headers
|
191
|
+
|
192
|
+
- **Content-Type**: Not defined
|
193
|
+
- **Accept**: application/xml
|
194
|
+
|
195
|
+
|
196
|
+
|
142
197
|
# **convert_data_json_to_xml**
|
143
198
|
> String convert_data_json_to_xml(json_object)
|
144
199
|
|
145
|
-
Convert JSON to XML conversion
|
200
|
+
Convert JSON Object to XML conversion
|
146
201
|
|
147
202
|
Convert a JSON object into XML
|
148
203
|
|
@@ -160,11 +215,11 @@ end
|
|
160
215
|
|
161
216
|
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
162
217
|
|
163
|
-
json_object = nil # Object | Input JSON to convert to XML
|
218
|
+
json_object = nil # Object | Input JSON Object to convert to XML
|
164
219
|
|
165
220
|
|
166
221
|
begin
|
167
|
-
#Convert JSON to XML conversion
|
222
|
+
#Convert JSON Object to XML conversion
|
168
223
|
result = api_instance.convert_data_json_to_xml(json_object)
|
169
224
|
p result
|
170
225
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -176,7 +231,7 @@ end
|
|
176
231
|
|
177
232
|
Name | Type | Description | Notes
|
178
233
|
------------- | ------------- | ------------- | -------------
|
179
|
-
**json_object** | **Object**| Input JSON to convert to XML |
|
234
|
+
**json_object** | **Object**| Input JSON Object to convert to XML |
|
180
235
|
|
181
236
|
### Return type
|
182
237
|
|
data/docs/ConvertWebApi.md
CHANGED
@@ -64,7 +64,7 @@ Name | Type | Description | Notes
|
|
64
64
|
### HTTP request headers
|
65
65
|
|
66
66
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
67
|
-
- **Accept**: application/
|
67
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
68
68
|
|
69
69
|
|
70
70
|
|
@@ -118,7 +118,7 @@ Name | Type | Description | Notes
|
|
118
118
|
### HTTP request headers
|
119
119
|
|
120
120
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
121
|
-
- **Accept**: application/
|
121
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -172,7 +172,7 @@ Name | Type | Description | Notes
|
|
172
172
|
### HTTP request headers
|
173
173
|
|
174
174
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
175
|
-
- **Accept**: application/
|
175
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
176
176
|
|
177
177
|
|
178
178
|
|
@@ -226,7 +226,7 @@ Name | Type | Description | Notes
|
|
226
226
|
### HTTP request headers
|
227
227
|
|
228
228
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
229
|
-
- **Accept**: application/
|
229
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
230
230
|
|
231
231
|
|
232
232
|
|
@@ -280,7 +280,7 @@ Name | Type | Description | Notes
|
|
280
280
|
### HTTP request headers
|
281
281
|
|
282
282
|
- **Content-Type**: multipart/form-data
|
283
|
-
- **Accept**: application/
|
283
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
284
284
|
|
285
285
|
|
286
286
|
|
@@ -334,7 +334,7 @@ Name | Type | Description | Notes
|
|
334
334
|
### HTTP request headers
|
335
335
|
|
336
336
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
337
|
-
- **Accept**: application/
|
337
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
338
338
|
|
339
339
|
|
340
340
|
|
@@ -388,7 +388,7 @@ Name | Type | Description | Notes
|
|
388
388
|
### HTTP request headers
|
389
389
|
|
390
390
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
391
|
-
- **Accept**: application/
|
391
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
392
392
|
|
393
393
|
|
394
394
|
|
@@ -442,7 +442,7 @@ Name | Type | Description | Notes
|
|
442
442
|
### HTTP request headers
|
443
443
|
|
444
444
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
445
|
-
- **Accept**: application/
|
445
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
446
446
|
|
447
447
|
|
448
448
|
|
@@ -135,9 +135,62 @@ module CloudmersiveConvertApiClient
|
|
135
135
|
end
|
136
136
|
return data, status_code, headers
|
137
137
|
end
|
138
|
-
# Convert JSON to XML conversion
|
138
|
+
# Convert JSON String to XML conversion
|
139
139
|
# Convert a JSON object into XML
|
140
|
-
# @param
|
140
|
+
# @param json_string Input JSON String to convert to XML
|
141
|
+
# @param [Hash] opts the optional parameters
|
142
|
+
# @return [Object]
|
143
|
+
def convert_data_json_string_to_xml(json_string, opts = {})
|
144
|
+
data, _status_code, _headers = convert_data_json_string_to_xml_with_http_info(json_string, opts)
|
145
|
+
data
|
146
|
+
end
|
147
|
+
|
148
|
+
# Convert JSON String to XML conversion
|
149
|
+
# Convert a JSON object into XML
|
150
|
+
# @param json_string Input JSON String to convert to XML
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
153
|
+
def convert_data_json_string_to_xml_with_http_info(json_string, opts = {})
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_json_string_to_xml ...'
|
156
|
+
end
|
157
|
+
# verify the required parameter 'json_string' is set
|
158
|
+
if @api_client.config.client_side_validation && json_string.nil?
|
159
|
+
fail ArgumentError, "Missing the required parameter 'json_string' when calling ConvertDataApi.convert_data_json_string_to_xml"
|
160
|
+
end
|
161
|
+
# resource path
|
162
|
+
local_var_path = '/convert/json-string/to/xml'
|
163
|
+
|
164
|
+
# query parameters
|
165
|
+
query_params = {}
|
166
|
+
query_params[:'JsonString'] = json_string
|
167
|
+
|
168
|
+
# header parameters
|
169
|
+
header_params = {}
|
170
|
+
# HTTP header 'Accept' (if needed)
|
171
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/xml'])
|
172
|
+
|
173
|
+
# form parameters
|
174
|
+
form_params = {}
|
175
|
+
|
176
|
+
# http body (model)
|
177
|
+
post_body = nil
|
178
|
+
auth_names = ['Apikey']
|
179
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
180
|
+
:header_params => header_params,
|
181
|
+
:query_params => query_params,
|
182
|
+
:form_params => form_params,
|
183
|
+
:body => post_body,
|
184
|
+
:auth_names => auth_names,
|
185
|
+
:return_type => 'Object')
|
186
|
+
if @api_client.config.debugging
|
187
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_json_string_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
188
|
+
end
|
189
|
+
return data, status_code, headers
|
190
|
+
end
|
191
|
+
# Convert JSON Object to XML conversion
|
192
|
+
# Convert a JSON object into XML
|
193
|
+
# @param json_object Input JSON Object to convert to XML
|
141
194
|
# @param [Hash] opts the optional parameters
|
142
195
|
# @return [String]
|
143
196
|
def convert_data_json_to_xml(json_object, opts = {})
|
@@ -145,9 +198,9 @@ module CloudmersiveConvertApiClient
|
|
145
198
|
data
|
146
199
|
end
|
147
200
|
|
148
|
-
# Convert JSON to XML conversion
|
201
|
+
# Convert JSON Object to XML conversion
|
149
202
|
# Convert a JSON object into XML
|
150
|
-
# @param json_object Input JSON to convert to XML
|
203
|
+
# @param json_object Input JSON Object to convert to XML
|
151
204
|
# @param [Hash] opts the optional parameters
|
152
205
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
153
206
|
def convert_data_json_to_xml_with_http_info(json_object, opts = {})
|
@@ -51,7 +51,7 @@ module CloudmersiveConvertApiClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
57
57
|
|
@@ -105,7 +105,7 @@ module CloudmersiveConvertApiClient
|
|
105
105
|
# header parameters
|
106
106
|
header_params = {}
|
107
107
|
# HTTP header 'Accept' (if needed)
|
108
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
109
109
|
# HTTP header 'Content-Type'
|
110
110
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
111
111
|
|
@@ -159,7 +159,7 @@ module CloudmersiveConvertApiClient
|
|
159
159
|
# header parameters
|
160
160
|
header_params = {}
|
161
161
|
# HTTP header 'Accept' (if needed)
|
162
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
162
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
163
163
|
# HTTP header 'Content-Type'
|
164
164
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
165
165
|
|
@@ -213,7 +213,7 @@ module CloudmersiveConvertApiClient
|
|
213
213
|
# header parameters
|
214
214
|
header_params = {}
|
215
215
|
# HTTP header 'Accept' (if needed)
|
216
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
216
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
217
217
|
# HTTP header 'Content-Type'
|
218
218
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
219
219
|
|
@@ -267,7 +267,7 @@ module CloudmersiveConvertApiClient
|
|
267
267
|
# header parameters
|
268
268
|
header_params = {}
|
269
269
|
# HTTP header 'Accept' (if needed)
|
270
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
271
271
|
# HTTP header 'Content-Type'
|
272
272
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
273
273
|
|
@@ -322,7 +322,7 @@ module CloudmersiveConvertApiClient
|
|
322
322
|
# header parameters
|
323
323
|
header_params = {}
|
324
324
|
# HTTP header 'Accept' (if needed)
|
325
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
325
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
326
326
|
# HTTP header 'Content-Type'
|
327
327
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
328
328
|
|
@@ -376,7 +376,7 @@ module CloudmersiveConvertApiClient
|
|
376
376
|
# header parameters
|
377
377
|
header_params = {}
|
378
378
|
# HTTP header 'Accept' (if needed)
|
379
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
379
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
380
380
|
# HTTP header 'Content-Type'
|
381
381
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
382
382
|
|
@@ -430,7 +430,7 @@ module CloudmersiveConvertApiClient
|
|
430
430
|
# header parameters
|
431
431
|
header_params = {}
|
432
432
|
# HTTP header 'Accept' (if needed)
|
433
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
433
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
434
434
|
# HTTP header 'Content-Type'
|
435
435
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
436
436
|
|
@@ -58,10 +58,22 @@ describe 'ConvertDataApi' do
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
+
# unit tests for convert_data_json_string_to_xml
|
62
|
+
# Convert JSON String to XML conversion
|
63
|
+
# Convert a JSON object into XML
|
64
|
+
# @param json_string Input JSON String to convert to XML
|
65
|
+
# @param [Hash] opts the optional parameters
|
66
|
+
# @return [Object]
|
67
|
+
describe 'convert_data_json_string_to_xml test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
61
73
|
# unit tests for convert_data_json_to_xml
|
62
|
-
# Convert JSON to XML conversion
|
74
|
+
# Convert JSON Object to XML conversion
|
63
75
|
# Convert a JSON object into XML
|
64
|
-
# @param json_object Input JSON to convert to XML
|
76
|
+
# @param json_object Input JSON Object to convert to XML
|
65
77
|
# @param [Hash] opts the optional parameters
|
66
78
|
# @return [String]
|
67
79
|
describe 'convert_data_json_to_xml test' do
|
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: 2.2.
|
4
|
+
version: 2.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|