Method: Aspose::Cloud::Cells::Workbook#get_default_style
- Defined in:
- lib/Cells/workbook.rb
#get_default_style ⇒ Object
225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/Cells/workbook.rb', line 225 def get_default_style begin if @filename == '' raise 'Base file name not specified' end str_uri = $product_uri + '/cells/' + @filename + '/defaultStyle' signed_uri = Aspose::Cloud::Common::Utils.sign(str_uri) response = RestClient.get(signed_uri, :accept => 'application/json') json = JSON.parse(response) return json['Style'] rescue Exception=>e print e end end |