Aspose.Words Cloud SDK For Ruby
This SDK lets you use Aspose Cloud Word APIs in your web apps.
How to Use the SDK?
The complete source code is available in this repository folder, you can either directly use it in your project or use RubyGems. For more details, please visit our documentation website.
Usage
APIs of this SDK can be called as follows:
require 'aspose_words_cloud'
class WordsUsage
include AsposeWordsCloud
include AsposeStorageCloud
def initialize
#Get App key and App SID from https://cloud.aspose.com
AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
@words_api = WordsApi.new
end
def load_web_document_into_the_file
#Load new document from web into the file with any supported format of data.
load_web_document_data = LoadWebDocumentData.new
load_web_document_data.loading_document_url = "http://google.com"
= SaveOptionsData.new
.save_format = "doc"
.file_name = "google.doc"
load_web_document_data. =
response = @words_api.post_load_web_document(load_web_document_data)
end
end
Unit Tests
Aspose Words SDK includes a suite of unit tests within the test subdirectory. These Unit Tests also serves as examples of how to use the Aspose Cells SDK.
Contact Us
Your feedback is very important to us. Please feel free to contact us using our Support Forums.