Skip to content

Commit d473770

Browse files
committed
Release Aspose.Cells Cloud SDK 21.10
1 parent 7a98328 commit d473770

File tree

9 files changed

+643
-30
lines changed

9 files changed

+643
-30
lines changed

README.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/21.9)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/21.10)
22

33

44
# Ruby SDK for Spreadsheet Processing in the Cloud
@@ -21,27 +21,10 @@ Ruby Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate Mic
2121
- Convert worksheets to PDF, XPS & SVG formats.
2222
- [Convert Excel files to popular formats](https://docs.aspose.cloud/cells/convert-excel-workbook-to-different-file-formats/).
2323

24-
## Feature & Enhancements in Version 21.9
25-
26-
- Correct the return type of the following REST APIs.
27-
28-
Delete WorksheetDeleteChart
29-
Post WorksheetChartLegend
30-
Post WorksheetChartTitle
31-
Put WorksheetAddChart
32-
Put WorksheetChartTitle
33-
Post WorksheetHyperlink
34-
Put WorksheetHyperlink
35-
Put WorksheetListObject
36-
Put WorksheetOleObject
37-
Post WorksheetPicture
38-
Put WorksheetAddPicture
39-
Put WorksheetPivotTable
40-
Delete DocumentProperties
41-
Delete DocumentProperty
42-
Put DocumentProperty
43-
Put WorksheetShape
44-
Delete WorksheetValidation
24+
## Feature & Enhancements in Version 21.10
25+
26+
- Add new API for support delete multiple worksheets in a single call.
27+
- Add new API for supports batch convert excel files.
4528

4629

4730
## Read & Write Spreadsheet Formats

lib/aspose_cells_cloud.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
require 'aspose_cells_cloud/models/access_token_response'
3232
require 'aspose_cells_cloud/models/area'
3333
require 'aspose_cells_cloud/models/auto_fitter_options'
34+
require 'aspose_cells_cloud/models/batch_convert_request'
3435
require 'aspose_cells_cloud/models/border'
3536
require 'aspose_cells_cloud/models/calculation_options'
3637
require 'aspose_cells_cloud/models/cell_area'
@@ -75,6 +76,7 @@
7576
require 'aspose_cells_cloud/models/link'
7677
require 'aspose_cells_cloud/models/link_element'
7778
require 'aspose_cells_cloud/models/list_column'
79+
require 'aspose_cells_cloud/models/match_condition_request'
7880
require 'aspose_cells_cloud/models/multiple_filter'
7981
require 'aspose_cells_cloud/models/multiple_filters'
8082
require 'aspose_cells_cloud/models/negative_bar_format'

lib/aspose_cells_cloud/api/cells_api.rb

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17072,6 +17072,75 @@ def cells_worksheets_delete_worksheet_freeze_panes_with_http_info(name, sheet_na
1707217072
return data, status_code, headers
1707317073
end
1707417074

17075+
# Read worksheets info.
17076+
#
17077+
# @param name
17078+
# @param match_condition
17079+
# @param [Hash] opts the optional parameters
17080+
# @option opts [String] :folder
17081+
# @option opts [String] :storage_name
17082+
# @return [CellsCloudResponse]
17083+
def cells_worksheets_delete_worksheets(name, match_condition, opts = {})
17084+
data, _status_code, _headers = cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts)
17085+
return data
17086+
end
17087+
17088+
# Read worksheets info.
17089+
#
17090+
# @param name
17091+
# @param match_condition
17092+
# @param [Hash] opts the optional parameters
17093+
# @option opts [String] :folder
17094+
# @option opts [String] :storage_name
17095+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
17096+
def cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts = {})
17097+
if @api_client.config.debugging
17098+
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheets ..."
17099+
end
17100+
@api_client.request_token_if_needed
17101+
# verify the required parameter 'name' is set
17102+
if @api_client.config.client_side_validation && name.nil?
17103+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheets"
17104+
end
17105+
# verify the required parameter 'match_condition' is set
17106+
if @api_client.config.client_side_validation && match_condition.nil?
17107+
fail ArgumentError, "Missing the required parameter 'match_condition' when calling CellsApi.cells_worksheets_delete_worksheets"
17108+
end
17109+
# resource path
17110+
local_var_path = "/cells/{name}/worksheets".sub('{' + 'name' + '}', name.to_s)
17111+
17112+
# query parameters
17113+
query_params = {}
17114+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
17115+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
17116+
17117+
# header parameters
17118+
header_params = {}
17119+
# HTTP header 'Accept' (if needed)
17120+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
17121+
# HTTP header 'Content-Type'
17122+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
17123+
17124+
# form parameters
17125+
form_params = {}
17126+
17127+
# http body (model)
17128+
post_body = @api_client.object_to_http_body(match_condition)
17129+
#auth_names = []
17130+
auth_names = ['JWT']
17131+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
17132+
:header_params => header_params,
17133+
:query_params => query_params,
17134+
:form_params => form_params,
17135+
:body => post_body,
17136+
:auth_names => auth_names,
17137+
:return_type => 'CellsCloudResponse')
17138+
if @api_client.config.debugging
17139+
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
17140+
end
17141+
return data, status_code, headers
17142+
end
17143+
1707517144
# Read worksheets ranges info.
1707617145
#
1707717146
# @param name Document name.
@@ -19980,6 +20049,63 @@ def object_exists_with_http_info(path, opts = {})
1998020049
return data, status_code, headers
1998120050
end
1998220051

20052+
#
20053+
#
20054+
# @param batch_convert_request
20055+
# @param [Hash] opts the optional parameters
20056+
# @return [File]
20057+
def post_batch_convert(batch_convert_request, opts = {})
20058+
data, _status_code, _headers = post_batch_convert_with_http_info(batch_convert_request, opts)
20059+
return data
20060+
end
20061+
20062+
#
20063+
#
20064+
# @param batch_convert_request
20065+
# @param [Hash] opts the optional parameters
20066+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
20067+
def post_batch_convert_with_http_info(batch_convert_request, opts = {})
20068+
if @api_client.config.debugging
20069+
@api_client.config.logger.debug "Calling API: CellsApi.post_batch_convert ..."
20070+
end
20071+
@api_client.request_token_if_needed
20072+
# verify the required parameter 'batch_convert_request' is set
20073+
if @api_client.config.client_side_validation && batch_convert_request.nil?
20074+
fail ArgumentError, "Missing the required parameter 'batch_convert_request' when calling CellsApi.post_batch_convert"
20075+
end
20076+
# resource path
20077+
local_var_path = "/cells/batch/convert"
20078+
20079+
# query parameters
20080+
query_params = {}
20081+
20082+
# header parameters
20083+
header_params = {}
20084+
# HTTP header 'Accept' (if needed)
20085+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
20086+
# HTTP header 'Content-Type'
20087+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
20088+
20089+
# form parameters
20090+
form_params = {}
20091+
20092+
# http body (model)
20093+
post_body = @api_client.object_to_http_body(batch_convert_request)
20094+
#auth_names = []
20095+
auth_names = ['JWT']
20096+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
20097+
:header_params => header_params,
20098+
:query_params => query_params,
20099+
:form_params => form_params,
20100+
:body => post_body,
20101+
:auth_names => auth_names,
20102+
:return_type => 'File')
20103+
if @api_client.config.debugging
20104+
@api_client.config.logger.debug "API called: CellsApi#post_batch_convert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
20105+
end
20106+
return data, status_code, headers
20107+
end
20108+
1998320109
# Check if storage exists
1998420110
#
1998520111
# @param storage_name Storage name

0 commit comments

Comments
 (0)