GroupDocs.Viewer for Cloud We are pleased to announce Ruby SDK of GroupDocs.Viewer Cloud. This SDK supports all features introduced in GroupDocs.Viewer Cloud API. Number of test cases are available in Ruby SDK to understand GroupDocs.Viewer Cloud API and implement its features in your Ruby application easily. Please click here for further details. GroupDocs.Viewer Cloud API supports a variety of document formats. It allows to render supported documents in HTML or image for the whole document, page by page or custom range of pages. It also provides some cool features like Watermarking and Transformation (Rotate, Reorder).

Introduction of Ruby SDK of GroupDocs.Viewer

CloudGroupDocs.Viewer Cloud Ruby SDK is introduced for its Ruby user. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Viewer Cloud REST APIs in Ruby platform quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at GitHub. All major features implementation are available in Ruby examples section, some noticeable examples are:


You need to install Ruby gem for communicating with the GroupDocs.Viewer Cloud API. A gem of GroupDocs_Viewer_Cloud is available at You can install it with:

gem install groupdocs_viewer_cloud 

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

gem "groupdocs_viewer_cloud", "~> 18.7" 
bundle install:

Getting Started

Once you are done with installation of gems and dependencies in your project, You can easily call the api in your Ruby code to consume the api features. Here is the sample code to demonstrate the working of GroupDocs.Vewer Cloud API using Ruby SDK.

Load the gem

require 'groupdocs_viewer_cloud'

Get your app_sid and app_key at (free registration is required).


Create instance of the API class

api = GroupDocsViewerCloud.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})") 

GroupDocs.Viewer Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.