Aspose.Slides Cloud SDK For Ruby
This SDK lets you use Aspose Cloud Slides APIs in your web apps.
Installing
You can simply install Aspose Slides Cloud SDK with gem:
gem install aspose_slides_cloud
Usage
APIs of this SDK can be called as follows:
require 'aspose_slides_cloud'
class SlidesUsage
include AsposeSlidesCloud
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
end
def
#Convert presentation from request content to format specified.
file_name = "sample.pptx"
convert_to_format = "pdf"
response = @slides_api.(File.open("data/" << file_name,"r") { |io| io.read }, {format: convert_to_format})
end
end
Unit Tests
Aspose Slides SDK includes a suite of unit tests within the test subdirectory. These Unit Tests also serves as examples of how to use the Aspose Slides SDK.
Contact
Your feedback is very important to us. Please email us all your queries and feedback at [email protected].
License
Aspose Slides SDK is available under the MIT license. See the LICENSE file for more info.