Skip to content

groupdocs-merger-cloud/groupdocs-merger-cloud-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Merger Cloud Ruby SDK

Ruby gem for communicating with the GroupDocs.Merger Cloud API

Installation

A gem of groupdocs_merger_cloud is available at rubygems.org. You can install it with:

gem install groupdocs_merger_cloud

To add dependency to your app copy following into your Gemfile and run bundle install:

gem "groupdocs_merger_cloud", "~> 24.11"

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'groupdocs_merger_cloud'

# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

# Create instance of the API class
api = GroupDocsMergerCloud::InfoApi.from_keys(app_sid, app_key)

# Retrieve supported file-formats
response = api.get_supported_file_formats

# Print out supported file-formats
puts("Supported file-formats:")
response.formats.each do |format|
  puts("#{format.file_format} (#{format.extension})") 
end

Licensing

GroupDocs.Merger Cloud Ruby SDK licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.