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.

Installation
The package is available at rubygems.org and it can be installed via gem by executing the following command:
gem install groupdocs_assembly_cloud

Requirements
Dependencies
The SDK requires the following gems:
| Package | Constraint |
|---|
| faraday | ~> 0.14.0 |
| mimemagic | ~> 0.3.2 |
Quick Start
Get your API credentials
To use GroupDocs.Assembly Cloud, sign up at GroupDocs.Cloud Dashboard and get your Client ID and Client Secret.
Initialize the API
Use the following code to start using the GroupDocs.Assembly Cloud SDK for Ruby. api_key is the Client Secret and app_sid is the Client ID.
require 'groupdocs_assembly_cloud'
GroupDocsAssemblyCloud.configure do |config|
config.api_key['api_key'] = "YourClientSecret"
config.api_key['app_sid'] = "YourClientId"
end
assembly_api = GroupDocsAssemblyCloud::AssemblyApi.new
See base_test_context.rb for more details.
Assemble a document
Once initialized, use this basic example to build a DOCX report from a template and JSON data.
require 'groupdocs_assembly_cloud'
GroupDocsAssemblyCloud.configure do |config|
config.api_key['api_key'] = "YourClientSecret"
config.api_key['app_sid'] = "YourClientId"
end
assembly_api = GroupDocsAssemblyCloud::AssemblyApi.new
template_file_info = GroupDocsAssemblyCloud::TemplateFileInfo.new(:FilePath => "Temp/SdkTests/ruby/TableFeatures.odt")
assemble_data = GroupDocsAssemblyCloud::AssembleOptions.new(:TemplateFileInfo => template_file_info, :SaveFormat => "docx", :ReportData => File.open("TestData/TableData.json", "rb") { |f| f.read })
request = GroupDocsAssemblyCloud::AssembleDocumentRequest.new assemble_data
result = assembly_api.assemble_document request
puts(result.length.to_s)
See api_tests.rb for more details.
Upload a Template
This example uploads a template into cloud storage before assembly.
require 'groupdocs_assembly_cloud'
GroupDocsAssemblyCloud.configure do |config|
config.api_key['api_key'] = "YourClientSecret"
config.api_key['app_sid'] = "YourClientId"
end
assembly_api = GroupDocsAssemblyCloud::AssemblyApi.new
file = File.new("TestData/TableFeatures.odt", "rb")
request = GroupDocsAssemblyCloud::UploadFileRequest.new(file, "Temp/SdkTests/ruby/TableFeatures.odt")
assembly_api.upload_file request
See base_test_context.rb for more details.
Retrieve the file formats the API can assemble.
require 'groupdocs_assembly_cloud'
GroupDocsAssemblyCloud.configure do |config|
config.api_key['api_key'] = "YourClientSecret"
config.api_key['app_sid'] = "YourClientId"
end
assembly_api = GroupDocsAssemblyCloud::AssemblyApi.new
request = GroupDocsAssemblyCloud::GetSupportedFileFormatsRequest.new
result = assembly_api.get_supported_file_formats(request)
See assembly_api.rb for more details.
List Files in Storage
This example lists files in the folder used by the SDK tests.
require 'groupdocs_assembly_cloud'
GroupDocsAssemblyCloud.configure do |config|
config.api_key['api_key'] = "YourClientSecret"
config.api_key['app_sid'] = "YourClientId"
end
assembly_api = GroupDocsAssemblyCloud::AssemblyApi.new
request = GroupDocsAssemblyCloud::GetFilesListRequest.new("/Folder1")
result = assembly_api.get_files_list(request)
See GetFilesListRequest.rb for more details.
Examples on GitHub
The GroupDocs.Assembly Cloud Ruby SDK repository includes the SDK and tests covering:
| Category | Examples |
|---|
| Assembly | Assemble a document from a template and JSON data |
| Storage | Upload, download, copy, move, and delete files and folders |
| Info | Supported file formats |
How to run the examples
- Clone or download the SDK repository
- Put your credentials into
Settings/servercreds.json - Run
gem install groupdocs_assembly_cloud - The tests are in
tests/api_tests.rb
For more details, visit Getting Started.

Document Automation | Ruby Cloud API | GroupDocs.Assembly Cloud | REST API | Document Generation | Template-Driven | Dynamic Data Merging | Rich Formatting | Conditional Content Control | List Automation | Table Automation | Barcode Generation | Hyperlink Insertion | Bookmark Creation | Checkbox Manipulation | Mail Merge | Formula Calculations | Chart Generation | Data Filtering | Data Sorting | Data Grouping | JWT Authentication | Microsoft Word | Microsoft Excel | Microsoft PowerPoint | Report Generation | Cloud-Based Flexibility | Secure API Access | Cross-platform API