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.

Kurulum
Paket rubygems.org adresinde mevcuttur ve aşağıdaki komut çalıştırılarak gem ile kurulabilir:
gem install groupdocs_assembly_cloud

Gereksinimler
Bağımlılıklar
SDK aşağıdaki gem’leri gerektirir:
| Package | Constraint |
|---|
| faraday | ~> 0.14.0 |
| mimemagic | ~> 0.3.2 |
Hızlı Başlangıç
API kimlik bilgilerinizi alın
GroupDocs.Assembly Cloud kullanmak için GroupDocs.Cloud Dashboard adresinden kaydolun ve Client ID ile Client Secret değerlerinizi alın.
API’yi başlatın
GroupDocs.Assembly Cloud SDK for Ruby kullanmaya başlamak için aşağıdaki kodu kullanın. api_key Client Secret, app_sid ise Client ID değeridir.
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
Ayrıntılar için base_test_context.rb dosyasına bakın.
Belge oluşturun
Başlatıldıktan sonra, bir şablon ve JSON verilerinden DOCX raporu oluşturmak için bu temel örneği kullanın.
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)
Ayrıntılar için api_tests.rb dosyasına bakın.
Şablon yükleyin
Bu örnek, oluşturmadan önce bir şablonu bulut depolamaya yükler.
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
Ayrıntılar için base_test_context.rb dosyasına bakın.
Desteklenen oluşturma biçimlerini alın
API’nin oluşturabileceği dosya biçimlerini alın.
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)
Ayrıntılar için assembly_api.rb dosyasına bakın.
Depolamadaki dosyaları listeleyin
Bu örnek, SDK testlerinin kullandığı klasördeki dosyaları listeler.
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)
Ayrıntılar için GetFilesListRequest.rb dosyasına bakın.
GitHub’daki örnekler
GroupDocs.Assembly Cloud Ruby SDK deposu şunları kapsayan SDK’yı ve testleri içerir:
| Category | Examples |
|---|
| Assembly | Şablon ve JSON verilerinden belge oluşturma |
| Storage | Dosya ve klasör yükleme, indirme, kopyalama, taşıma ve silme |
| Info | Desteklenen dosya biçimleri |
Örnekleri çalıştırma
- SDK deposunu klonlayın veya indirin
- Kimlik bilgilerinizi
Settings/servercreds.json dosyasına yazın gem install groupdocs_assembly_cloud komutunu çalıştırın- Testler
tests/api_tests.rb içindedir
Ayrıntılar için Getting Started sayfasını ziyaret edin.

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