Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
You can easily use aspose_html_cloud for Ruby from RubyGems with the following command.
Product Page | Documentation | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
Aspose.HTML Cloud SDK for Ruby provides a robust solution for processing HTML documents. It acts as a Ruby wrapper around REST API, taking on numerous low-level operations: authentication, endpoint management, request/response handling, etc. This SDK is open source and has an MIT license. Currently, the Cloud SDK for Ruby offers a number of key features:
Use the Aspose.HTML Cloud SDK for Ruby to convert an HTML file stored locally into a PDF file.
# Load the Aspose.HTML Cloud SDK for Ruby require 'aspose_html_cloud' # Configuration with your Aspose Cloud credentials and API endpoints CONFIG = { "basePath" => "https://api.aspose.cloud/v4.0", "authPath" => "https://api.aspose.cloud/connect/token", "apiKey" => "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "appSID" => "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "debug" => true } # Create an instance of the HtmlApi class using the configuration api_instance = AsposeHtml::HtmlApi.new CONFIG # Define the source (input) and destination (output) file paths src = "test.html" # Local HTML file to be converted dst = "test.pdf" # Path where the converted PDF will be saved begin # Convert the local HTML file to a local PDF file result = api_instance.convert_local_to_local(src, dst) # Print the result (conversion details or success confirmation) p result rescue AsposeHtml::ApiError => e # Handle exceptions and print error details puts "Exception when calling api_instance.convert_local_to_local: #{e}" end