Manage Cloud Storage via Ruby SDK
Ruby APIs to work with business document cloud storage. Supports file & folder management tasks for popular cloud storage providers.Start Free Trial
GroupDocs.Storage Cloud SDK for Ruby
GroupDocs.Storage Cloud is a REST API for performing different storage-related operations in applications and websites. The API comes with many storage-related features crucial to organizations, including support for default GroupDocs storage along with 3rd party storage services. The API supports HTTP requests and gets responses in form of JSON or XML data. Hence, any language or platform which supports the HTTP requests and responses is capable of running the API. We have build SDK for Ruby which allows you to work with GroupDocs.Storage Cloud REST APIs in your Ruby applications quickly and easily, with zero initial cost.
If you do not want to use any of our SDKs or the required SDK is not available at the moment, you can still easily get started with GroupDocs.Storage REST API while using your favorite language & platform.
GroupDocs.Storage Cloud SDK for Ruby - Dependencies
Supported External Storage Services
GroupDocs.Storage Cloud supports a number of 3rd party storage services.
- Amazon S3
- Windows Azure
- Google Drive
Advanced Cloud Storage REST API Features
Support default GroupDocs storage
Support 3rd party storage services
Support Folder related operations
Support Files related operations
Get Started with Cloud Storage REST API
It is easy to get started with GroupDocs.Storage Cloud 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.Storage Cloud REST API a try with any language - on any platform.
Supported Files Related Operations
Our storage API for Cloud applications supports a number of operations related to dealing with files.
- Upload File
- Download a Particular File
- Move a File to Another Location
- Delete a Particular File
- Check Presence of a File
- Check the version of a file
For example, the below-mentioned code shows how to check the version of a file using the SDK for Ruby:
Check file version - Ruby
//Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required). @api_client = GroupDocsStorageCloud::ApiClient.new @config @storage_api = GroupDocsStorageCloud::StorageApi.new @api_client $path = 'output.docx' $storage = 'MyStorage' $request = GroupDocsStorageCloud::GetListFileVersionsRequest.new($path, $storage) $result = @storage_api.get_list_file_versions($request)
Convenient to Use
GroupDocs.Storage Cloud API is completely independent of your operating system, database system or development language. You can use any language or platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use the SDK, it hides the REST API calls and lets you use the features of the API in a native way for your preferred language.
Check Presence of a Storage
GroupDocs.Storage Cloud API allows you to check if a storage exists in the specified Cloud App. This feature can be utilized with the Ruby SDK in just a few lines:
Check storage presence - Ruby
//Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required). @api_client = GroupDocsStorageCloud::ApiClient.new @config @storage_api = GroupDocsStorageCloud::StorageApi.new @api_client $versionId = nil $storage = 'MyStorage' $request = GroupDocsStorageCloud::GetIsStorageExistRequest.new($storage) $result = @storage_api.get_is_storage_exist($request)
Support for Different Cloud Storage Platforms
GroupDocs Cloud is very flexible and allows its users to use their own cloud storage or some other 3rd party storage services they are comfortable with.
GroupDocs Cloud goes beyond limitations and acts as a kind of Gateway between a Developer and the Cloud Storage of his users. This will allow you to write your Application once, and we'll take care of both the File Formats and also letting you support many different Cloud Storage platforms through a single consistent interface.