Render & View Documents via Ruby SDK

RESTful API to efficiently build Ruby applications for rendering & viewing documents of all popular formats. Render as HTML, PNG, JPG or PDF.

  • GroupDocs.Viewer Cloud SDK for cURL
  • GroupDocs.Viewer Cloud SDK for .NET
  • GroupDocs.Viewer Cloud SDK for Java
  • GroupDocs.Viewer Cloud SDK for PHP
  • GroupDocs.Viewer Cloud SDK for Python
  • GroupDocs.Viewer Cloud SDK for Node.js
  • GroupDocs.Viewer Cloud SDK for Android
Start Free Trial

GroupDocs.Viewer SDK for Ruby has been developed to help you get started with our Document Viewer Cloud API. The SDK helps by providing a higher level of abstraction so that you don’t need to know the details pertaining to handling the HTTP requests and responses of the REST APIs.

Using the Ruby SDK, you can utilize all the features of the API and can seamlessly enhance your application with the capability to render a variety of the industry-standard document formats. The SDK allows viewing a specific document in HTML, image, PDF or its original format with the flexibility to render the whole document, page by page or custom range of pages.

Frequently Asked Questions

I want to create my own Ruby application to view documents?

Check out GroupDocs.Viewer Cloud SDK for Ruby at GitHub if you are looking for the source code to view file in the Cloud.

Can I try GroupDocs.Viewer REST APIs on Ruby for free?

You can try GroupDocs.Viewer Low-Code Ruby APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.

Advanced Document Viewer REST API Features

Render documents as HTML5

Render documents as Image

Rotate, reorder & watermark pages

Render documents as PDF

Render document attachments

APIs are secured and require authentication

An Easy SDK for Developers Who Want to Save Time

Using the GroupDocs Cloud APIs is quite simple as there is nothing to install. Simply create an account at GroupDocs Cloud and get your application information. Once you have the App SID & key, you are ready to give the GroupDocs Cloud REST APIs a try. The SDKs have been developed to facilitate the developers and to let them get started with our APIs real fast by hiding the REST API calls and allowing you to use the features of the API in a native way using Ruby as the language.

Render a Number of Document Formats

The cloud-based viewer API has the ability to display different document formats quickly, with just a few lines of code. Using the SDK for Ruby you can find out about the various document formats supported by the SDK.

Get a list of supported file formats - Ruby

  // Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
  # Getting instance of the API
  api = GroupDocsViewerCloud::ViewerApi.from_keys($app_sid, $app_key)

  # Retrieve supported file formats
  response = api.get_supported_file_formats()

  # Print supported file formats
  response.formats.each do |format|
      puts("#{format.file_format} (#{format.extension})")

Efficiently Minify Output Content

One of the most exciting features of our Cloud-based viewer API is its ability to minify the output content. Minification removes comments, extra white-spaces, and other unneeded characters without breaking the content structure. As a result, the page becomes smaller in size and loads faster.

Flexible Rendering of Documents

GroupDocs.Viewer is a powerful document viewer REST API that allows you to display over 85 document formats in your applications. It allows document rendering for the whole document, page by page or custom range of pages.

Customize to Suit your Needs

GroupDocs.Viewer Cloud SDK for Ruby is 100% tested and out of the box running. The SDK is open source and has an MIT license. The API is easy to customize and changes can be made according to the features you need to add in your application.

File Formats

GroupDocs.Viewer Cloud for Ruby supports a wide range of file formats, including but not limited to:

  • Microsoft Office: DOC, DOCX, XLS, XLSX, PPT, PPTX
  • PDF
  • Images: JPG, PNG, BMP, TIFF, GIF
  • CAD formats: DWG, DXF
  • Ebooks: EPUB, MOBI
  • Email formats: EML, MSG

Rendering Options

With GroupDocs.Viewer Cloud for Ruby, you can customize the rendering options to meet your specific requirements. Some of the key rendering options include:

  • Zooming and scaling
  • Rotation and flipping
  • Watermarking
  • HTML transformations

Document Rendering

GroupDocs.Viewer Cloud for Ruby allows you to render documents in various formats, including:

  • Rendering PDF documents as images or HTML
  • Rendering Microsoft Office documents as images or HTML
  • Rendering CAD formats as images or HTML

Document Manipulation

Apart from rendering, GroupDocs.Viewer Cloud for Ruby provides several document manipulation features, such as:

  • Extracting text from documents
  • Extracting images from documents
  • Splitting documents into pages
  • Merging multiple documents into a single document

Supported Platforms

GroupDocs.Viewer Cloud for Ruby is compatible with a range of platforms, including:

  • Ruby
  • .NET
  • Java
  • PHP
  • Node.js

Integration with Third-Party Storage

You can easily integrate GroupDocs.Viewer Cloud for Ruby with third-party storage providers, such as:

  • Amazon S3
  • Dropbox
  • Google Drive
  • Azure Blob Storage

Security and Authentication

GroupDocs.Viewer Cloud for Ruby offers secure document viewing with features like:

  • Token-based authentication
  • Secure file storage
  • SSL/TLS encryption
  • Access control and permissions

Caching and Performance Optimization

To optimize performance, GroupDocs.Viewer Cloud for Ruby provides caching mechanisms, including:

  • Client-side caching
  • Server-side caching
  • Time-to-live settings

Metadata Extraction

GroupDocs.Viewer Cloud for Ruby allows you to extract metadata from documents, such as:

  • Document properties (e.g., title, author, keywords)
  • Exif data from images
  • CAD file metadata

Cross-Platform Compatibility

GroupDocs.Viewer Cloud for Ruby is designed to work seamlessly across different platforms, including:

  • Windows
  • Linux
  • macOS

Customization and Branding

You can customize and brand the document viewer with GroupDocs.Viewer Cloud for Ruby by:

  • Changing the UI colors and styles
  • Adding your logo and watermark
  • Controlling the viewer behavior

Documentation and Support

GroupDocs.Viewer Cloud for Ruby provides comprehensive documentation and support resources, including:

  • Developer guides
  • API reference
  • Code examples
  • Support forum
  • Email support

View Documents using GroupDocs.Viewer Free App

EMLASCPPCDRDOCMYAMLCGMPPTMMPPXLTXJLSGZIPBMPXMLPLCCTIFODGVCFTEXPSBRTFPDFIFCJPEGPYHPGSTLAS3VSSSQLSVGZODTXLTIGSDOTMHTMLHWMZPSFODGEPSDWFPOTXJP2DJVUDXFCSSDNGPSD1DOCXPSOXPSAPNGWMFODPONEDIBDCMCHMTAR.GZCSSVGTARPSTHTMLVSSMOTSVSDPPTXHHCMAKEERBCMXVBAIICOEPUBJ2CLOGJPFJ2KZIPDOTXDOCX7ZSHTGAJPGPCLPSM1POTVSDXDWGJAVACSVSASSMDGROOVYDOTMEMZPHPPPSPNGOBJDIFFOTGXLSMPXDGNEMLXTXZHTMODSDWTVSTMTGZXLTMMMGIFSCMRBFODPNUMBERSJPXVDWBATPOTMPLTPS1CXXPPTSXCMBOXPPSMMHTTSVTAR.XZJPCVSTXVIMRARVSTVSXOTTMHAMLMLPSDXZXMLSMLPPSXFODSTIFFASMXLSXXLSMWEBPVSSXMSGSCALAVTXNSFMPTRSTJSONLESSCOSTXLAMJPMGZVSDMBZ2JSTXTPROPERTIESXLSBMAKEMOBISCRIPTOTPVDXEMFCF2

Support and Learning Resources

GroupDocs.Viewer Cloud also offers individual document rendering SDKs for other popular languages as listed below:

  English
262a188