414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
|
# File 'lib/Cells/workbook.rb', line 414
def merge_workbook merge_file_name =''
begin
if @filename == ''
raise 'Base file name not specified'
end
str_uri = $product_uri + '/cells/' + @filename + '/merge?mergeWith=' + merge_file_name
signed_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
response = RestClient.post(signed_uri,'',:accept => 'application/json')
json = JSON.parse(response)
if json['Code']==200
return true
else
return false
end
rescue Exception=>e
print e
end
end
|