aspose_slides_cloud 21.2.0 → 21.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/TestData/test.pptx +0 -0
 - data/lib/aspose_slides_cloud.rb +1 -0
 - data/lib/aspose_slides_cloud/api/slides_api.rb +9505 -3384
 - data/lib/aspose_slides_cloud/api/slides_api_requests.rb +546 -157
 - data/lib/aspose_slides_cloud/api_client.rb +2 -3
 - data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +46 -2
 - data/lib/aspose_slides_cloud/type_registry.rb +1 -0
 - data/lib/aspose_slides_cloud/version.rb +1 -1
 - data/spec/api/slides_api_spec.rb +20549 -18606
 - data/spec/extra/extra_spec.rb +64 -97
 - data/spec/spec_utils.rb +11 -18
 - data/testRules.json +49 -2
 - metadata +2 -2
 
    
        data/spec/extra/extra_spec.rb
    CHANGED
    
    | 
         @@ -25,38 +25,31 @@ require 'spec_helper' 
     | 
|
| 
       25 
25 
     | 
    
         
             
            describe 'SlidesApiExtra' do
         
     | 
| 
       26 
26 
     | 
    
         
             
              describe 'specific cases' do
         
     | 
| 
       27 
27 
     | 
    
         
             
                it 'multipart request' do
         
     | 
| 
       28 
     | 
    
         
            -
                   
     | 
| 
       29 
     | 
    
         
            -
                   
     | 
| 
       30 
     | 
    
         
            -
                   
     | 
| 
       31 
     | 
    
         
            -
                   
     | 
| 
       32 
     | 
    
         
            -
                   
     | 
| 
       33 
     | 
    
         
            -
                   
     | 
| 
       34 
     | 
    
         
            -
                   
     | 
| 
       35 
     | 
    
         
            -
                   
     | 
| 
       36 
     | 
    
         
            -
                   
     | 
| 
       37 
     | 
    
         
            -
                   
     | 
| 
       38 
     | 
    
         
            -
                   
     | 
| 
       39 
     | 
    
         
            -
                   
     | 
| 
       40 
     | 
    
         
            -
                   
     | 
| 
       41 
     | 
    
         
            -
                   
     | 
| 
       42 
     | 
    
         
            -
                   
     | 
| 
       43 
     | 
    
         
            -
                   
     | 
| 
       44 
     | 
    
         
            -
                   
     | 
| 
       45 
     | 
    
         
            -
                   
     | 
| 
       46 
     | 
    
         
            -
                  o, c, _h = AsposeSlidesCloud::SpecUtils.api.post_slides_pipeline_with_http_info(requestParam)
         
     | 
| 
      
 28 
     | 
    
         
            +
                  pipeline = AsposeSlidesCloud::Pipeline.new
         
     | 
| 
      
 29 
     | 
    
         
            +
                  pipeline.input = AsposeSlidesCloud::Input.new
         
     | 
| 
      
 30 
     | 
    
         
            +
                  pipeline.input.template_data = AsposeSlidesCloud::RequestInputFile.new
         
     | 
| 
      
 31 
     | 
    
         
            +
                  pipeline.input.template_data.type = "Request"
         
     | 
| 
      
 32 
     | 
    
         
            +
                  pipeline.input.template_data.index = 0
         
     | 
| 
      
 33 
     | 
    
         
            +
                  pipeline.input.template = AsposeSlidesCloud::RequestInputFile.new
         
     | 
| 
      
 34 
     | 
    
         
            +
                  pipeline.input.template.type = "Request"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  pipeline.input.template.index = 1
         
     | 
| 
      
 36 
     | 
    
         
            +
                  pipeline.tasks = []
         
     | 
| 
      
 37 
     | 
    
         
            +
                  pipeline.tasks.push(AsposeSlidesCloud::Save.new)
         
     | 
| 
      
 38 
     | 
    
         
            +
                  pipeline.tasks[0].type = "Save"
         
     | 
| 
      
 39 
     | 
    
         
            +
                  pipeline.tasks[0].format = "pptx"
         
     | 
| 
      
 40 
     | 
    
         
            +
                  pipeline.tasks[0].output = AsposeSlidesCloud::OutputFile.new
         
     | 
| 
      
 41 
     | 
    
         
            +
                  pipeline.tasks[0].output.type = "Response"
         
     | 
| 
      
 42 
     | 
    
         
            +
                  files = []
         
     | 
| 
      
 43 
     | 
    
         
            +
                  files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplatingCVDataWithBase64.xml")))
         
     | 
| 
      
 44 
     | 
    
         
            +
                  files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplateCV.pptx")))
         
     | 
| 
      
 45 
     | 
    
         
            +
                  o, c, _h = AsposeSlidesCloud::SpecUtils.api.pipeline_with_http_info(pipeline, files)
         
     | 
| 
       47 
46 
     | 
    
         
             
                  expect(c).to eq(200)
         
     | 
| 
       48 
47 
     | 
    
         
             
                  expect(o).not_to be(nil)
         
     | 
| 
       49 
48 
     | 
    
         
             
                end
         
     | 
| 
       50 
49 
     | 
    
         | 
| 
       51 
50 
     | 
    
         
             
                it 'base shape' do
         
     | 
| 
       52 
51 
     | 
    
         
             
                  AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
         
     | 
| 
       53 
     | 
    
         
            -
                   
     | 
| 
       54 
     | 
    
         
            -
                  requestParam.name = "test.pptx"
         
     | 
| 
       55 
     | 
    
         
            -
                  requestParam.slide_index = 1
         
     | 
| 
       56 
     | 
    
         
            -
                  requestParam.shape_index = 1
         
     | 
| 
       57 
     | 
    
         
            -
                  requestParam.password = "password"
         
     | 
| 
       58 
     | 
    
         
            -
                  requestParam.folder = "TempSlidesSDK"
         
     | 
| 
       59 
     | 
    
         
            -
                  o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
         
     | 
| 
      
 52 
     | 
    
         
            +
                  o = AsposeSlidesCloud::SpecUtils.api.get_shape("test.pptx", 1, 1, "password", "TempSlidesSDK")
         
     | 
| 
       60 
53 
     | 
    
         
             
                  expect(o.text).to eq("1")
         
     | 
| 
       61 
54 
     | 
    
         
             
                end
         
     | 
| 
       62 
55 
     | 
    
         | 
| 
         @@ -79,13 +72,7 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       79 
72 
     | 
    
         
             
                  #configuration.timeout = 1
         
     | 
| 
       80 
73 
     | 
    
         
             
                  #api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       81 
74 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
                  # 
     | 
| 
       83 
     | 
    
         
            -
                  #requestParam.name = "test.pptx"
         
     | 
| 
       84 
     | 
    
         
            -
                  #requestParam.slide_index = 1
         
     | 
| 
       85 
     | 
    
         
            -
                  #requestParam.password = "password"
         
     | 
| 
       86 
     | 
    
         
            -
                  #requestParam.folder = "TempSlidesSDK"
         
     | 
| 
       87 
     | 
    
         
            -
                  #requestParam.format = "svg"
         
     | 
| 
       88 
     | 
    
         
            -
                  #api.post_slide_save_as(requestParam)
         
     | 
| 
      
 75 
     | 
    
         
            +
                  #api.download_slide("test.pptx", 1, "svg", "password", "TempSlidesSDK")
         
     | 
| 
       89 
76 
     | 
    
         
             
                end
         
     | 
| 
       90 
77 
     | 
    
         | 
| 
       91 
78 
     | 
    
         
             
                it 'nullable properties' do
         
     | 
| 
         @@ -97,72 +84,52 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       97 
84 
     | 
    
         
             
                  max1 = 104.3
         
     | 
| 
       98 
85 
     | 
    
         
             
                  max2 = 87
         
     | 
| 
       99 
86 
     | 
    
         
             
                  AsposeSlidesCloud::SpecUtils.initialize("no_method", "no_property", nil)
         
     | 
| 
       100 
     | 
    
         
            -
                   
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
                   
     | 
| 
       103 
     | 
    
         
            -
                   
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
                   
     | 
| 
       106 
     | 
    
         
            -
                   
     | 
| 
       107 
     | 
    
         
            -
                   
     | 
| 
       108 
     | 
    
         
            -
                   
     | 
| 
       109 
     | 
    
         
            -
                   
     | 
| 
       110 
     | 
    
         
            -
                   
     | 
| 
       111 
     | 
    
         
            -
                   
     | 
| 
       112 
     | 
    
         
            -
                   
     | 
| 
       113 
     | 
    
         
            -
                   
     | 
| 
       114 
     | 
    
         
            -
                   
     | 
| 
       115 
     | 
    
         
            -
                   
     | 
| 
       116 
     | 
    
         
            -
                   
     | 
| 
       117 
     | 
    
         
            -
                   
     | 
| 
       118 
     | 
    
         
            -
                   
     | 
| 
       119 
     | 
    
         
            -
                   
     | 
| 
       120 
     | 
    
         
            -
                   
     | 
| 
       121 
     | 
    
         
            -
                   
     | 
| 
       122 
     | 
    
         
            -
                   
     | 
| 
       123 
     | 
    
         
            -
                   
     | 
| 
       124 
     | 
    
         
            -
                   
     | 
| 
       125 
     | 
    
         
            -
                   
     | 
| 
       126 
     | 
    
         
            -
             
     | 
| 
       127 
     | 
    
         
            -
                   
     | 
| 
       128 
     | 
    
         
            -
                  postRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         
     | 
| 
       129 
     | 
    
         
            -
                  postRequest.dto.axes.horizontal_axis.is_automatic_min_value = false
         
     | 
| 
       130 
     | 
    
         
            -
                  postRequest.dto.axes.horizontal_axis.min_value = min1
         
     | 
| 
       131 
     | 
    
         
            -
                  postRequest.dto.axes.horizontal_axis.is_automatic_max_value = false
         
     | 
| 
       132 
     | 
    
         
            -
                  postRequest.dto.axes.horizontal_axis.max_value = max1
         
     | 
| 
       133 
     | 
    
         
            -
                  AsposeSlidesCloud::SpecUtils.api.post_add_new_shape(postRequest)
         
     | 
| 
       134 
     | 
    
         
            -
             
     | 
| 
       135 
     | 
    
         
            -
                  getRequest = AsposeSlidesCloud::GetSlideShapeRequest.new
         
     | 
| 
       136 
     | 
    
         
            -
                  getRequest.name = fileName
         
     | 
| 
       137 
     | 
    
         
            -
                  getRequest.folder = folderName
         
     | 
| 
       138 
     | 
    
         
            -
                  getRequest.password = password
         
     | 
| 
       139 
     | 
    
         
            -
                  getRequest.slide_index = 1
         
     | 
| 
       140 
     | 
    
         
            -
                  getRequest.shape_index = 4
         
     | 
| 
       141 
     | 
    
         
            -
                  result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
         
     | 
| 
      
 87 
     | 
    
         
            +
                  AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + fileName, folderName + "/" + fileName)
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                  dto = AsposeSlidesCloud::Chart.new
         
     | 
| 
      
 90 
     | 
    
         
            +
                  dto.chart_type = "Line"
         
     | 
| 
      
 91 
     | 
    
         
            +
                  dto.width = 400.0
         
     | 
| 
      
 92 
     | 
    
         
            +
                  dto.height = 300.0
         
     | 
| 
      
 93 
     | 
    
         
            +
                  dto.title = AsposeSlidesCloud::ChartTitle.new
         
     | 
| 
      
 94 
     | 
    
         
            +
                  dto.title.has_title = true
         
     | 
| 
      
 95 
     | 
    
         
            +
                  dto.title.text = "MyTitle"
         
     | 
| 
      
 96 
     | 
    
         
            +
                  dto.series = []
         
     | 
| 
      
 97 
     | 
    
         
            +
                  dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
         
     | 
| 
      
 98 
     | 
    
         
            +
                  dto.series[0].type = "ClusteredColumn"
         
     | 
| 
      
 99 
     | 
    
         
            +
                  dto.series[0].data_point_type = "OneValue"
         
     | 
| 
      
 100 
     | 
    
         
            +
                  dto.series[0].name = "Series1"
         
     | 
| 
      
 101 
     | 
    
         
            +
                  dto.series[0].data_points = []
         
     | 
| 
      
 102 
     | 
    
         
            +
                  dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
         
     | 
| 
      
 103 
     | 
    
         
            +
                  dto.series[0].data_points[0].value = 40.0
         
     | 
| 
      
 104 
     | 
    
         
            +
                  dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
         
     | 
| 
      
 105 
     | 
    
         
            +
                  dto.series[0].data_points[1].value = 50.0
         
     | 
| 
      
 106 
     | 
    
         
            +
                  dto.axes = AsposeSlidesCloud::Axes.new
         
     | 
| 
      
 107 
     | 
    
         
            +
                  dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         
     | 
| 
      
 108 
     | 
    
         
            +
                  dto.axes.horizontal_axis.is_automatic_min_value = false
         
     | 
| 
      
 109 
     | 
    
         
            +
                  dto.axes.horizontal_axis.min_value = min1
         
     | 
| 
      
 110 
     | 
    
         
            +
                  dto.axes.horizontal_axis.is_automatic_max_value = false
         
     | 
| 
      
 111 
     | 
    
         
            +
                  dto.axes.horizontal_axis.max_value = max1
         
     | 
| 
      
 112 
     | 
    
         
            +
                  AsposeSlidesCloud::SpecUtils.api.create_shape(fileName, 1, dto, nil, nil, password, folderName)
         
     | 
| 
      
 113 
     | 
    
         
            +
             
     | 
| 
      
 114 
     | 
    
         
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
         
     | 
| 
       142 
115 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min1)
         
     | 
| 
       143 
116 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max1)
         
     | 
| 
       144 
117 
     | 
    
         | 
| 
       145 
     | 
    
         
            -
                   
     | 
| 
       146 
     | 
    
         
            -
                   
     | 
| 
       147 
     | 
    
         
            -
                   
     | 
| 
       148 
     | 
    
         
            -
                   
     | 
| 
       149 
     | 
    
         
            -
                   
     | 
| 
       150 
     | 
    
         
            -
             
     | 
| 
       151 
     | 
    
         
            -
                   
     | 
| 
       152 
     | 
    
         
            -
                  putRequest.dto.axes = AsposeSlidesCloud::Axes.new
         
     | 
| 
       153 
     | 
    
         
            -
                  putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         
     | 
| 
       154 
     | 
    
         
            -
                  putRequest.dto.axes.horizontal_axis.min_value = min2
         
     | 
| 
       155 
     | 
    
         
            -
                  AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
         
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
                  result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
         
     | 
| 
      
 118 
     | 
    
         
            +
                  dto = AsposeSlidesCloud::Chart.new
         
     | 
| 
      
 119 
     | 
    
         
            +
                  dto.axes = AsposeSlidesCloud::Axes.new
         
     | 
| 
      
 120 
     | 
    
         
            +
                  dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         
     | 
| 
      
 121 
     | 
    
         
            +
                  dto.axes.horizontal_axis.min_value = min2
         
     | 
| 
      
 122 
     | 
    
         
            +
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 4, dto, password, folderName)
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
         
     | 
| 
       158 
125 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min2)
         
     | 
| 
       159 
126 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max1)
         
     | 
| 
       160 
127 
     | 
    
         | 
| 
       161 
     | 
    
         
            -
                   
     | 
| 
       162 
     | 
    
         
            -
                   
     | 
| 
       163 
     | 
    
         
            -
                  AsposeSlidesCloud::SpecUtils.api. 
     | 
| 
      
 128 
     | 
    
         
            +
                  dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         
     | 
| 
      
 129 
     | 
    
         
            +
                  dto.axes.horizontal_axis.max_value = max2
         
     | 
| 
      
 130 
     | 
    
         
            +
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 4, dto, password, folderName)
         
     | 
| 
       164 
131 
     | 
    
         | 
| 
       165 
     | 
    
         
            -
                  result = AsposeSlidesCloud::SpecUtils.api. 
     | 
| 
      
 132 
     | 
    
         
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
         
     | 
| 
       166 
133 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min2)
         
     | 
| 
       167 
134 
     | 
    
         
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max2)
         
     | 
| 
       168 
135 
     | 
    
         
             
                end
         
     | 
| 
         @@ -178,7 +145,7 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       178 
145 
     | 
    
         
             
                  configuration.app_key = config["ClientSecret"]
         
     | 
| 
       179 
146 
     | 
    
         
             
                  configuration.debugging = config["Debug"]
         
     | 
| 
       180 
147 
     | 
    
         
             
                  api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       181 
     | 
    
         
            -
                  o, c, _h = api. 
     | 
| 
      
 148 
     | 
    
         
            +
                  o, c, _h = api.get_api_info_with_http_info
         
     | 
| 
       182 
149 
     | 
    
         
             
                  expect(c).to eq(200)
         
     | 
| 
       183 
150 
     | 
    
         
             
                  expect(o).not_to be(nil)
         
     | 
| 
       184 
151 
     | 
    
         
             
                end
         
     | 
| 
         @@ -193,7 +160,7 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       193 
160 
     | 
    
         
             
                  configuration.debugging = config["Debug"]
         
     | 
| 
       194 
161 
     | 
    
         
             
                  api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       195 
162 
     | 
    
         
             
                  begin
         
     | 
| 
       196 
     | 
    
         
            -
                    o, c, _h = api. 
     | 
| 
      
 163 
     | 
    
         
            +
                    o, c, _h = api.get_api_info_with_http_info
         
     | 
| 
       197 
164 
     | 
    
         
             
                    fail "An exception expected"
         
     | 
| 
       198 
165 
     | 
    
         
             
                  rescue AsposeSlidesCloud::ApiError => e
         
     | 
| 
       199 
166 
     | 
    
         
             
                    expect(e.code).to eq(401)
         
     | 
| 
         @@ -210,10 +177,10 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       210 
177 
     | 
    
         
             
                  configuration.app_key = config["ClientSecret"]
         
     | 
| 
       211 
178 
     | 
    
         
             
                  configuration.debugging = config["Debug"]
         
     | 
| 
       212 
179 
     | 
    
         
             
                  api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       213 
     | 
    
         
            -
                  api. 
     | 
| 
      
 180 
     | 
    
         
            +
                  api.get_api_info_with_http_info
         
     | 
| 
       214 
181 
     | 
    
         
             
                  configuration.app_sid = "invalid"
         
     | 
| 
       215 
182 
     | 
    
         
             
                  api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       216 
     | 
    
         
            -
                  o, c, _h = api. 
     | 
| 
      
 183 
     | 
    
         
            +
                  o, c, _h = api.get_api_info_with_http_info
         
     | 
| 
       217 
184 
     | 
    
         
             
                  expect(c).to eq(200)
         
     | 
| 
       218 
185 
     | 
    
         
             
                  expect(o).not_to be(nil)
         
     | 
| 
       219 
186 
     | 
    
         
             
                end
         
     | 
| 
         @@ -228,7 +195,7 @@ describe 'SlidesApiExtra' do 
     | 
|
| 
       228 
195 
     | 
    
         
             
                  configuration.access_token = "expired.token"
         
     | 
| 
       229 
196 
     | 
    
         
             
                  configuration.debugging = config["Debug"]
         
     | 
| 
       230 
197 
     | 
    
         
             
                  api = AsposeSlidesCloud::SlidesApi.new(configuration)
         
     | 
| 
       231 
     | 
    
         
            -
                  o, c, _h = api. 
     | 
| 
      
 198 
     | 
    
         
            +
                  o, c, _h = api.get_api_info_with_http_info
         
     | 
| 
       232 
199 
     | 
    
         
             
                  expect(c).to eq(200)
         
     | 
| 
       233 
200 
     | 
    
         
             
                  expect(o).not_to be(nil)
         
     | 
| 
       234 
201 
     | 
    
         
             
                end
         
     | 
    
        data/spec/spec_utils.rb
    CHANGED
    
    | 
         @@ -24,11 +24,9 @@ module AsposeSlidesCloud 
     | 
|
| 
       24 
24 
     | 
    
         
             
              class SpecUtils
         
     | 
| 
       25 
25 
     | 
    
         
             
                def self.initialize(method, name, value)
         
     | 
| 
       26 
26 
     | 
    
         
             
                  if !@@is_initialized
         
     | 
| 
       27 
     | 
    
         
            -
                    download_request = AsposeSlidesCloud::DownloadFileRequest.new
         
     | 
| 
       28 
     | 
    
         
            -
                    download_request.path = "TempTests/version.txt"
         
     | 
| 
       29 
27 
     | 
    
         
             
                    version = ""
         
     | 
| 
       30 
28 
     | 
    
         
             
                    begin
         
     | 
| 
       31 
     | 
    
         
            -
                      version = SpecUtils.api.download_file( 
     | 
| 
      
 29 
     | 
    
         
            +
                      version = SpecUtils.api.download_file("TempTests/version.txt")
         
     | 
| 
       32 
30 
     | 
    
         
             
                    rescue AsposeSlidesCloud::ApiError => e
         
     | 
| 
       33 
31 
     | 
    
         
             
                      if e.code != 404
         
     | 
| 
       34 
32 
     | 
    
         
             
                        fail "Could not read from storage"
         
     | 
| 
         @@ -38,16 +36,10 @@ module AsposeSlidesCloud 
     | 
|
| 
       38 
36 
     | 
    
         
             
                      Dir.entries(TEST_DATA_PATH).each { |f|
         
     | 
| 
       39 
37 
     | 
    
         
             
                        if !File.directory? File.join(TEST_DATA_PATH, f)
         
     | 
| 
       40 
38 
     | 
    
         
             
                          fd = File.binread(File.join(TEST_DATA_PATH, f))
         
     | 
| 
       41 
     | 
    
         
            -
                           
     | 
| 
       42 
     | 
    
         
            -
                          upload_request.file = fd
         
     | 
| 
       43 
     | 
    
         
            -
                          upload_request.path = "TempTests/" + f
         
     | 
| 
       44 
     | 
    
         
            -
                          SpecUtils.api.upload_file(upload_request)
         
     | 
| 
      
 39 
     | 
    
         
            +
                          SpecUtils.api.upload_file("TempTests/" + f, fd)
         
     | 
| 
       45 
40 
     | 
    
         
             
                        end
         
     | 
| 
       46 
41 
     | 
    
         
             
                      }
         
     | 
| 
       47 
     | 
    
         
            -
                       
     | 
| 
       48 
     | 
    
         
            -
                      upload_request.file = EXPECTED_TEST_DATA_VERSION
         
     | 
| 
       49 
     | 
    
         
            -
                      upload_request.path = "TempTests/version.txt"
         
     | 
| 
       50 
     | 
    
         
            -
                      SpecUtils.api.upload_file(upload_request)
         
     | 
| 
      
 42 
     | 
    
         
            +
                      SpecUtils.api.upload_file("TempTests/version.txt", EXPECTED_TEST_DATA_VERSION)
         
     | 
| 
       51 
43 
     | 
    
         
             
                    end
         
     | 
| 
       52 
44 
     | 
    
         
             
                    @@is_initialized = true
         
     | 
| 
       53 
45 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -66,14 +58,9 @@ module AsposeSlidesCloud 
     | 
|
| 
       66 
58 
     | 
    
         
             
                  end
         
     | 
| 
       67 
59 
     | 
    
         
             
                  files.each do |path, rule|
         
     | 
| 
       68 
60 
     | 
    
         
             
                    if rule["Action"] == "Put"
         
     | 
| 
       69 
     | 
    
         
            -
                       
     | 
| 
       70 
     | 
    
         
            -
                      copy_request.src_path = "TempTests/" + rule['ActualName']
         
     | 
| 
       71 
     | 
    
         
            -
                      copy_request.dest_path = path
         
     | 
| 
       72 
     | 
    
         
            -
                      SpecUtils.api.copy_file(copy_request)
         
     | 
| 
      
 61 
     | 
    
         
            +
                      SpecUtils.api.copy_file("TempTests/" + rule['ActualName'], path)
         
     | 
| 
       73 
62 
     | 
    
         
             
                    elsif rule["Action"] == "Delete"
         
     | 
| 
       74 
     | 
    
         
            -
                       
     | 
| 
       75 
     | 
    
         
            -
                      delete_request.path = path
         
     | 
| 
       76 
     | 
    
         
            -
                      SpecUtils.api.delete_file(delete_request)
         
     | 
| 
      
 63 
     | 
    
         
            +
                      SpecUtils.api.delete_file(path)
         
     | 
| 
       77 
64 
     | 
    
         
             
                    end
         
     | 
| 
       78 
65 
     | 
    
         
             
                  end
         
     | 
| 
       79 
66 
     | 
    
         
             
                end
         
     | 
| 
         @@ -86,6 +73,12 @@ module AsposeSlidesCloud 
     | 
|
| 
       86 
73 
     | 
    
         
             
                    end
         
     | 
| 
       87 
74 
     | 
    
         
             
                    return File.binread(File.join(TEST_DATA_PATH, fileName))
         
     | 
| 
       88 
75 
     | 
    
         
             
                  end
         
     | 
| 
      
 76 
     | 
    
         
            +
                  if type == 'File[]'
         
     | 
| 
      
 77 
     | 
    
         
            +
                    files = []
         
     | 
| 
      
 78 
     | 
    
         
            +
                    files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "test.pptx")))
         
     | 
| 
      
 79 
     | 
    
         
            +
                    files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "test-unprotected.pptx")))
         
     | 
| 
      
 80 
     | 
    
         
            +
                    return files
         
     | 
| 
      
 81 
     | 
    
         
            +
                  end
         
     | 
| 
       89 
82 
     | 
    
         
             
                  value = "test" + name
         
     | 
| 
       90 
83 
     | 
    
         
             
                  SpecUtils.test_rules["Values"].each do |rule|
         
     | 
| 
       91 
84 
     | 
    
         
             
                    if SpecUtils.good_rule?(rule, name, method) and rule.key?("Value")
         
     | 
    
        data/testRules.json
    CHANGED
    
    | 
         @@ -174,9 +174,14 @@ 
     | 
|
| 
       174 
174 
     | 
    
         
             
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
         
     | 
| 
       175 
175 
     | 
    
         
             
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
         
     | 
| 
       176 
176 
     | 
    
         
             
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
         
     | 
| 
      
 177 
     | 
    
         
            +
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "NET" },
         
     | 
| 
      
 178 
     | 
    
         
            +
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "NET" },
         
     | 
| 
      
 179 
     | 
    
         
            +
            		{ "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "NET" },
         
     | 
| 
       177 
180 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
         
     | 
| 
       178 
181 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
         
     | 
| 
       179 
182 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
         
     | 
| 
      
 183 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PostExportShape" },
         
     | 
| 
      
 184 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PutExportShape" },
         
     | 
| 
       180 
185 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
         
     | 
| 
       181 
186 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
         
     | 
| 
       182 
187 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
         
     | 
| 
         @@ -185,6 +190,11 @@ 
     | 
|
| 
       185 
190 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
         
     | 
| 
       186 
191 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
         
     | 
| 
       187 
192 
     | 
    
         
             
            		{ "Value": "png", "Parameter": "Format", "Method": "GetSlidesImageWithFormat" },
         
     | 
| 
      
 193 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PostExportImageWithFormat" },
         
     | 
| 
      
 194 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PostExportImageWithFormatOnline" },
         
     | 
| 
      
 195 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PostExportImagesWithFormat" },
         
     | 
| 
      
 196 
     | 
    
         
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat" },
         
     | 
| 
      
 197 
     | 
    
         
            +
            		{ "Value": "AlignTop", "InvalidValue": "AlignBottom", "Parameter": "AlignmentType" },
         
     | 
| 
       188 
198 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
         
     | 
| 
       189 
199 
     | 
    
         
             
            		{ "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
         
     | 
| 
       190 
200 
     | 
    
         
             
            		{ "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
         
     | 
| 
         @@ -199,11 +209,12 @@ 
     | 
|
| 
       199 
209 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": false, "Parameter": "ApplyToAll" },
         
     | 
| 
       200 
210 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": false, "Parameter": "IsImageDataEmbedded" },
         
     | 
| 
       201 
211 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": false, "Parameter": "WithSlides" },
         
     | 
| 
      
 212 
     | 
    
         
            +
            		{ "Value": null, "InvalidValue": false, "Parameter": "AlignToSlide" },
         
     | 
| 
       202 
213 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": 593, "Parameter": "JpegQuality" },
         
     | 
| 
       203 
214 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleX" },
         
     | 
| 
       204 
215 
     | 
    
         
             
            		{ "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleY" },
         
     | 
| 
       205 
     | 
    
         
            -
            		{ " 
     | 
| 
       206 
     | 
    
         
            -
            		{ "Value": null, " 
     | 
| 
      
 216 
     | 
    
         
            +
            		{ "InvalidValue": null, "Parameter": "Files" },
         
     | 
| 
      
 217 
     | 
    
         
            +
            		{ "Value": null, "Parameter": "VersionId" }
         
     | 
| 
       207 
218 
     | 
    
         
             
            	],
         
     | 
| 
       208 
219 
     | 
    
         
             
            	"OKToReturnNull": [
         
     | 
| 
       209 
220 
     | 
    
         
             
            		{ "Method": "PostSlidesPipeline" }
         
     | 
| 
         @@ -246,6 +257,7 @@ 
     | 
|
| 
       246 
257 
     | 
    
         
             
            		{ "Parameter": "Format", "Language": "NET" },
         
     | 
| 
       247 
258 
     | 
    
         
             
            		{ "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
         
     | 
| 
       248 
259 
     | 
    
         
             
            		{ "Parameter": "Dto", "Method": "PostAddNotesSlide" },
         
     | 
| 
      
 260 
     | 
    
         
            +
            		{ "Parameter": "DataPoint", "Language": "PHP" },
         
     | 
| 
       249 
261 
     | 
    
         
             
            		{ "Parameter": "Dto", "Language": "Swift" },
         
     | 
| 
       250 
262 
     | 
    
         
             
            		{ "Parameter": "SlideDto", "Language": "Swift" },
         
     | 
| 
       251 
263 
     | 
    
         
             
            		{ "Parameter": "Request", "Language": "Swift" },
         
     | 
| 
         @@ -280,8 +292,11 @@ 
     | 
|
| 
       280 
292 
     | 
    
         
             
            		{ "Parameter": "Password", "Method": "PutNewPresentation" },
         
     | 
| 
       281 
293 
     | 
    
         
             
            		{ "Parameter": "Data", "Method": "PostSlidesDocument" },
         
     | 
| 
       282 
294 
     | 
    
         
             
            		{ "Parameter": "Files" },
         
     | 
| 
      
 295 
     | 
    
         
            +
            		{ "Parameter": "Request" },
         
     | 
| 
       283 
296 
     | 
    
         
             
            		{ "Parameter": "WithSlides" },
         
     | 
| 
       284 
297 
     | 
    
         
             
            		{ "Parameter": "SectionName" },
         
     | 
| 
      
 298 
     | 
    
         
            +
            		{ "Parameter": "AlignmentType" },
         
     | 
| 
      
 299 
     | 
    
         
            +
            		{ "Parameter": "AlignToSlide" },
         
     | 
| 
       285 
300 
     | 
    
         
             
            		{ "Method": "GetDiscUsage" },
         
     | 
| 
       286 
301 
     | 
    
         
             
            		{ "Method": "GetFilesList" },
         
     | 
| 
       287 
302 
     | 
    
         
             
            		{ "Method": "GetFileVersions" },
         
     | 
| 
         @@ -387,36 +402,67 @@ 
     | 
|
| 
       387 
402 
     | 
    
         
             
            		{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "From" },
         
     | 
| 
       388 
403 
     | 
    
         
             
            		{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "To" },
         
     | 
| 
       389 
404 
     | 
    
         
             
            		{ "Message": " is not supported", "Parameter": "Format" },
         
     | 
| 
      
 405 
     | 
    
         
            +
            		{ "Message": " is not supported", "Parameter": "OutPath" },
         
     | 
| 
       390 
406 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NodeJS" },
         
     | 
| 
       391 
407 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Go" },
         
     | 
| 
       392 
408 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Python" },
         
     | 
| 
       393 
409 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Perl" },
         
     | 
| 
       394 
410 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Swift" },
         
     | 
| 
       395 
411 
     | 
    
         
             
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "CPP" },
         
     | 
| 
      
 412 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "NodeJS" },
         
     | 
| 
      
 413 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Go" },
         
     | 
| 
      
 414 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Python" },
         
     | 
| 
      
 415 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Perl" },
         
     | 
| 
      
 416 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Swift" },
         
     | 
| 
      
 417 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "CPP" },
         
     | 
| 
      
 418 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "NodeJS" },
         
     | 
| 
      
 419 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Go" },
         
     | 
| 
      
 420 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Python" },
         
     | 
| 
      
 421 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Perl" },
         
     | 
| 
      
 422 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Swift" },
         
     | 
| 
      
 423 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "CPP" },
         
     | 
| 
      
 424 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "NodeJS" },
         
     | 
| 
      
 425 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Go" },
         
     | 
| 
      
 426 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Python" },
         
     | 
| 
      
 427 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Perl" },
         
     | 
| 
      
 428 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Swift" },
         
     | 
| 
      
 429 
     | 
    
         
            +
            		{ "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "CPP" },
         
     | 
| 
       396 
430 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "NodeJS" },
         
     | 
| 
       397 
431 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "NodeJS" },
         
     | 
| 
       398 
432 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "NodeJS" },
         
     | 
| 
       399 
433 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "NodeJS" },
         
     | 
| 
      
 434 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "NodeJS" },
         
     | 
| 
      
 435 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "NodeJS" },
         
     | 
| 
       400 
436 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
         
     | 
| 
       401 
437 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
         
     | 
| 
       402 
438 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
         
     | 
| 
       403 
439 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
         
     | 
| 
      
 440 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Python" },
         
     | 
| 
      
 441 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Python" },
         
     | 
| 
       404 
442 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
         
     | 
| 
       405 
443 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
         
     | 
| 
       406 
444 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
         
     | 
| 
       407 
445 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
         
     | 
| 
      
 446 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Go" },
         
     | 
| 
      
 447 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Go" },
         
     | 
| 
       408 
448 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
         
     | 
| 
       409 
449 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
         
     | 
| 
       410 
450 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
         
     | 
| 
       411 
451 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
         
     | 
| 
      
 452 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Perl" },
         
     | 
| 
      
 453 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Perl" },
         
     | 
| 
       412 
454 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
         
     | 
| 
       413 
455 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
         
     | 
| 
       414 
456 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
         
     | 
| 
       415 
457 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
         
     | 
| 
      
 458 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Swift" },
         
     | 
| 
      
 459 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Swift" },
         
     | 
| 
       416 
460 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
         
     | 
| 
       417 
461 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
         
     | 
| 
       418 
462 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
         
     | 
| 
       419 
463 
     | 
    
         
             
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
         
     | 
| 
      
 464 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "CPP" },
         
     | 
| 
      
 465 
     | 
    
         
            +
            		{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "CPP" },
         
     | 
| 
       420 
466 
     | 
    
         
             
            		{ "Message": "Color must be in format #FF000000", "Parameter": "Color" },
         
     | 
| 
       421 
467 
     | 
    
         
             
            		{ "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
         
     | 
| 
       422 
468 
     | 
    
         
             
            		{ "Message": "Error parsing XML template data", "Parameter": "Data" },
         
     | 
| 
         @@ -444,6 +490,7 @@ 
     | 
|
| 
       444 
490 
     | 
    
         
             
            		{ "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
         
     | 
| 
       445 
491 
     | 
    
         
             
            		{ "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
         
     | 
| 
       446 
492 
     | 
    
         
             
            		{ "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
         
     | 
| 
      
 493 
     | 
    
         
            +
            		{ "Message": "Sequence contains no elements", "Code": 500, "Parameter": "Files" },
         
     | 
| 
       447 
494 
     | 
    
         
             
            		{ "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
         
     | 
| 
       448 
495 
     | 
    
         
             
            	]
         
     | 
| 
       449 
496 
     | 
    
         
             
            }
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aspose_slides_cloud
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 21. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 21.3.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Victor Putrov
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2021- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-04-05 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     |