aspose_cells_cloud 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a4083442b050055f84142a9eafbfb7ac52cbcd2
4
- data.tar.gz: ae9b0c578ee6c633810feea5d25151fc46eddefc
3
+ metadata.gz: 8441fdf94538f847e02987568046536d34d3990e
4
+ data.tar.gz: f2a0903315a38c4dea159e714bff272716641d66
5
5
  SHA512:
6
- metadata.gz: 8a2ad86206bab0f0511474b923a59f8001e76e666ddeef4c29f677479c86800f7a6b928d226f4df833bd35a7e2dddf19f77d0c310da6dcb454a48d7003f25cbd
7
- data.tar.gz: 96dd262358ab7000f3f49ab75ca5a8ca6374b64699dc70ae2122a27168c2624fd6dce05ca981b044d3aef2ce11d7f84cdcc1a8912c73b84806af2ff81b4e6f7e
6
+ metadata.gz: b5c77cd949e596e1dbae945a29a28f102779baf5eb07f27592f37fa3d928d146245436c717fbd17b06f9dacba3b9cc5624f53c0ec15691dec4b74fab06ff2caf
7
+ data.tar.gz: 3542659862709b1ebd48e4ba329cbfe486bbe1152a9e8e0a8509613388dfe5acb70cec6eb92d3cf3bc85236484d026426d871a036364ccb9034ba416c9a24320
data/README.md CHANGED
@@ -1,40 +1,42 @@
1
- # Aspose.Storage Cloud SDK For Ruby
2
- This SDK lets you use [Aspose Cloud Storage APIs](http://api.aspose.com/v1.1/swagger/ui/index) in your web apps.
1
+ # Aspose.Cells Cloud SDK For Ruby
2
+ This SDK lets you use [Aspose Cloud Cells APIs](http://api.aspose.com/v1.1/swagger/ui/index) in your web apps.
3
3
 
4
4
  ## Installing
5
- You can simply install AsposeStorageCloud with gem:
5
+ You can simply install AsposeCellsCloud with gem:
6
6
 
7
- `gem install aspose_storage_cloud`
7
+ `gem install aspose_cells_cloud`
8
8
 
9
9
  ## Usage
10
10
  APIs of this SDK can be called as follows:
11
11
 
12
12
  ```ruby
13
- require 'aspose_storage_cloud'
13
+ require 'aspose_cells_cloud'
14
14
 
15
- class Storage
16
-
17
- include AsposeStorageCloud
15
+ class CellsUsage
18
16
 
17
+ include AsposeCellsCloud
18
+ include AsposeStorageCloud
19
+
19
20
  def initialize
20
21
  #Get App key and App SID from https://cloud.aspose.com
21
22
  AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
22
- @storage_api = StorageApi.new
23
+ @cells_api = CellsApi.new
23
24
  end
24
25
 
25
- def get_aspose_disc_usage
26
- #Check the disk usage of the current account.
27
- disc_usage_response = @storage_api.get_disc_usage()
28
- puts "Used Size: #{disc_usage_response.disc_usage.used_size} Total Size: #{disc_usage_response.disc_usage.total_size}"
26
+ def convert_work_book_to_pdf
27
+ #Convert workbook from request content to PDF format.
28
+ file_name = "myWorkbook.xlsx"
29
+ convert_to_format = "pdf"
30
+ response = @cells_api.put_convert_work_book(File.open("data/" << file_name,"r") { |io| io.read }, {format: convert_to_format})
29
31
  end
30
32
 
31
33
  end
32
34
  ```
33
35
  ## Unit Tests
34
- Aspose Storage SDK includes a suite of unit tests within the [test](https://github.com/asposetotal/Aspose_Total_Cloud/blob/master/SDKs/Aspose.Storage_Cloud_SDK_For_Ruby/test/storage_tests.rb) subdirectory. These Unit Tests also serves as examples of how to use the Aspose Storage SDK.
36
+ Aspose Cells SDK includes a suite of unit tests within the [test](https://github.com/asposecells/Aspose_Cells_Cloud/blob/master/SDKs/Aspose.Cells_Cloud_SDK_For_Ruby/test/cells_tests.rb) subdirectory. These Unit Tests also serves as examples of how to use the Aspose Cells SDK.
35
37
 
36
38
  ## Contact
37
39
  Your feedback is very important to us. Please email us all your queries and feedback at marketplace@aspose.com.
38
40
 
39
41
  ## License
40
- Aspose Storage SDK is available under the MIT license. See the [LICENSE](https://github.com/asposetotal/Aspose_Total_Cloud/blob/master/SDKs/Aspose.Storage_Cloud_SDK_For_Ruby/LICENSE) file for more info.
42
+ Aspose Cells SDK is available under the MIT license. See the [LICENSE](https://github.com/asposecells/Aspose_Cells_Cloud/blob/master/SDKs/Aspose.Cells_Cloud_SDK_For_Ruby/LICENSE) file for more info.
@@ -1,3 +1,3 @@
1
1
  module AsposeCellsCloud
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_cells_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Sohail Ismail