README.md in aspose_barcode_cloud-1.0.0 vs README.md in aspose_barcode_cloud-1.0.1
- old
+ new
@@ -1,42 +1,41 @@
-# Aspose.Slides Cloud SDK For Ruby
-This SDK lets you use [Aspose Cloud Slides APIs](http://www.aspose.com/cloud/powerpoint-api.aspx) in your web apps.
+# Aspose.BarCode Cloud SDK For Ruby
+This SDK lets you use [Aspose Cloud Barcode APIs](http://www.aspose.com/cloud/barcode-api.aspx) in your Ruby web apps.
## Installing
-You can simply install Aspose Slides Cloud SDK with gem:
+You can simply install Aspose Barcode Cloud SDK with gem:
-`gem install aspose_slides_cloud`
+`gem install aspose_barcode_cloud`
## Usage
APIs of this SDK can be called as follows:
```ruby
-require 'aspose_slides_cloud'
+require 'aspose_barcode_cloud'
-class SlidesUsage
+class BarcodeUsage
- include AsposeSlidesCloud
+ include AsposeBarcodeCloud
include AsposeStorageCloud
def initialize
#Get App key and App SID from https://cloud.aspose.com
AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
- @slides_api = SlidesApi.new
+ @barcode_api = BarcodeApi.new
end
- def put_slides_convert
- #Convert presentation from request content to format specified.
- file_name = "sample.pptx"
- convert_to_format = "pdf"
- response = @slides_api.put_slides_convert(File.open("data/" << file_name,"r") { |io| io.read }, {format: convert_to_format})
+ def get_barcode_generate
+ #Generate barcode.
+ opts = {text: "Dairy Products", type: "qr", format: "png"}
+ response = @barcode_api.get_barcode_generate(opts)
end
end
```
## Unit Tests
-Aspose Slides SDK includes a suite of unit tests within the [test](https://github.com/asposeslides/Aspose_Slides_Cloud/blob/master/SDKs/Aspose.Slides_Cloud_SDK_For_Ruby/test/slides_tests.rb) subdirectory. These Unit Tests also serves as examples of how to use the Aspose Slides SDK.
+Aspose Barcode SDK includes a suite of unit tests within the [test](https://github.com/asposebarcode/Aspose_BarCode_Cloud/blob/master/SDKs/Aspose.BarCode_Cloud_SDK_for_Ruby/test/barcode_tests.rb) subdirectory. These Unit Tests also serves as examples of how to use the Aspose Barcode SDK.
## Contact
Your feedback is very important to us. Please email us all your queries and feedback at marketplace@aspose.com.
## License
-Aspose Slides SDK is available under the MIT license. See the [LICENSE](https://github.com/asposeslides/Aspose_Slides_Cloud/blob/master/SDKs/Aspose.Slides_Cloud_SDK_For_Ruby/LICENSE) file for more info.
+Aspose Barcode SDK is available under the MIT license. See the [LICENSE](https://github.com/asposebarcode/Aspose_BarCode_Cloud/blob/master/SDKs/Aspose.BarCode_Cloud_SDK_for_Ruby/LICENSE) file for more info.