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 +4 -4
- data/README.md +17 -15
- data/lib/aspose_cells_cloud/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8441fdf94538f847e02987568046536d34d3990e
|
4
|
+
data.tar.gz: f2a0903315a38c4dea159e714bff272716641d66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c77cd949e596e1dbae945a29a28f102779baf5eb07f27592f37fa3d928d146245436c717fbd17b06f9dacba3b9cc5624f53c0ec15691dec4b74fab06ff2caf
|
7
|
+
data.tar.gz: 3542659862709b1ebd48e4ba329cbfe486bbe1152a9e8e0a8509613388dfe5acb70cec6eb92d3cf3bc85236484d026426d871a036364ccb9034ba416c9a24320
|
data/README.md
CHANGED
@@ -1,40 +1,42 @@
|
|
1
|
-
# Aspose.
|
2
|
-
This SDK lets you use [Aspose Cloud
|
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
|
5
|
+
You can simply install AsposeCellsCloud with gem:
|
6
6
|
|
7
|
-
`gem install
|
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 '
|
13
|
+
require 'aspose_cells_cloud'
|
14
14
|
|
15
|
-
class
|
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
|
-
@
|
23
|
+
@cells_api = CellsApi.new
|
23
24
|
end
|
24
25
|
|
25
|
-
def
|
26
|
-
#
|
27
|
-
|
28
|
-
|
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
|
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
|
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.
|