Method: Aspose::Cloud::Cells::Workbook#create_empty_workbook

Defined in:
lib/Cells/workbook.rb

#create_empty_workbookObject



131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/Cells/workbook.rb', line 131

def create_empty_workbook
  begin
    str_uri = $product_uri + '/cells/' + @filename
    signed_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
    response = RestClient.put(signed_uri,'', :accept => 'application/json')
    json = JSON.parse(response)
    return json  
  rescue Exception=>e
    print e
  end
      
end