Low commit activity in last 3 years
A long-lived project that still receives updates
Ruby gem for communicating with the GroupDocs.Viewer Cloud API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.11, >= 5.11.3

Runtime

~> 2.8.0, >= 2.8.0
~> 0.14.0
 Project Readme

GroupDocs.Viewer Cloud Ruby SDK

Ruby gem for communicating with the GroupDocs.Viewer Cloud API

Installation

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

gem install groupdocs_viewer_cloud

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

gem "groupdocs_viewer_cloud", "~> 24.12"

Getting Started

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

# Load the gem
require 'groupdocs_viewer_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 = GroupDocsViewerCloud::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.Viewer 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.