61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# File 'lib/aspose_cells_cloud/requests/post_update_word_case_request.rb', line 61
def create_http_request(api_client,opts = {})
if api_client.config.debugging
api_client.config.logger.debug "Calling API: CellsApi.post_update_word_case ..."
end
api_client.request_token_if_needed
if api_client.config.client_side_validation && word_case_options.nil?
fail ArgumentError, "Missing the required parameter 'word_case_options' when calling CellsApi.post_update_word_case "
end
local_var_path = "v3.0/cells/updatewordcase"
query_params = {}
= {}
['Accept'] = api_client.(['application/json'])
['Content-Type'] = api_client.(['application/json'])
form_params = {}
post_body = nil
post_body = api_client.object_to_http_body(word_case_options)
auth_names = ['JWT']
data, status_code, = api_client.call_api(:POST, local_var_path,
:header_params => ,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'FileInfo')
if api_client.config.debugging
api_client.config.logger.debug "API called: Specification.Name>Api.post_update_word_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{}"
end
return data, status_code,
end
|