Skip to content

Commit fbfa395

Browse files
committed
Updated sources
1 parent b1c88c9 commit fbfa395

60 files changed

Lines changed: 3121 additions & 473 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
groupdocs_annotation_cloud (20.10)
4+
groupdocs_annotation_cloud (21.2)
55
addressable (~> 2.5.0, >= 2.5.0)
66
faraday (~> 0.14.0)
77
mimemagic (~> 0.3.2)

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2003-2020 Aspose Pty Ltd
3+
Copyright (c) 2003-2021 Aspose Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

Lines changed: 27 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,35 @@
1-
![](https://img.shields.io/badge/api-v2.0-lightgrey) ![Gem](https://img.shields.io/gem/v/groupdocs_annotation_cloud) ![Gem](https://img.shields.io/gem/dt/groupdocs_annotation_cloud) [![GitHub license](https://img.shields.io/github/license/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby)](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby/blob/master/LICENSE)
1+
# GroupDocs.Annotation Cloud Ruby SDK
22

3-
# Annotate Documents via Ruby with REST API
3+
Ruby gem for communicating with the GroupDocs.Annotation Cloud API
44

5-
[GroupDocs.Annotation Cloud SDK for Ruby](https://products.groupdocs.cloud/annotation/ruby) wraps GroupDocs.Annotation RESTful APIs so you may integrate Document Annotation features in your own apps with zero initial cost.
5+
## Installation
66

7-
The solution helps in applying annotations, sticky notes, watermark overlays, redactions, text replacements and markups to documents, presentations, emails, spreadsheets, PDF, images other file formats.
8-
9-
## Annotate Documents & Images in the Cloud
10-
11-
- Import document annotations.
12-
- Add or remove annotations.
13-
- Export annotated document back to its original format.
14-
- Preview document pages as images.
15-
- Fetch document information, such as, page count & file size.
16-
17-
Check out the [Developer's Guide](https://docs.groupdocs.cloud/annotation/developer-guide/) to know more about GroupDocs.Annotation REST API.
18-
19-
## Microsoft Office Formats
20-
21-
**Microsoft Word:** DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF\
22-
**Microsoft Excel:** XLS, XLSX\
23-
**Microsoft PowerPoint:** PPT, PPTX, PPSX\
24-
**Microsoft Visio:** VSSX, VSS, VSSM, VDX, VSD, VSDX, VSDM, VSTM, VSX, VTX\
25-
**Microsoft Outlook:** EML, EMLX, MSG
26-
27-
## Other Document Formats
28-
29-
**Portable:** PDF\
30-
**OpenDocument:** ODT, OTT, ODP, OTP\
31-
**Images:** BMP, PNG, JPG, JPEG, TIFF, TIF, GIF\
32-
**Web:** MHTML\
33-
**Others:** TXT
34-
35-
## Get Started with GroupDocs.Annotation Cloud SDK for Ruby
36-
37-
First create an account at [GroupDocs for Cloud](https://dashboard.groupdocs.cloud/) and get your application information. Next, follow the installation steps to get started.
38-
39-
### Installation
40-
41-
A GEM of GroupDocs.Annotation is available at [rubygems.org](https://rubygems.org/gems/groupdocs_annotation_cloud). You can install it with the help of the following command.
7+
A gem of groupdocs_annotation_cloud is available at [rubygems.org](https://rubygems.org). You can install it with:
428

439
```shell
4410
gem install groupdocs_annotation_cloud
4511
```
4612

47-
Copy following into your Gemfile and run `bundle install`to add the dependency to your app.
13+
To add dependency to your app copy following into your Gemfile and run `bundle install`:
4814

4915
```
50-
gem "groupdocs_annotation_cloud", "~> 20.10"
16+
gem "groupdocs_annotation_cloud", "~> 21.2"
5117
```
5218

53-
## Get Supported File Formats for Annotation
19+
## Getting Started
20+
21+
Please follow the [installation](#installation) procedure and then run the following code:
5422

5523
```ruby
5624
# Load the gem
5725
require 'groupdocs_annotation_cloud'
5826

59-
# Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
60-
$my_client_id = ""
61-
$my_client_secret = ""
27+
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
28+
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
29+
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
6230

63-
# Create instance of the API
64-
$configuration = GroupDocsAnnotationCloud::Configuration.new($my_client_id, $my_client_secret)
65-
api = GroupDocsAnnotationCloud::InfoApi.from_config($configuration)
31+
# Create instance of the API class
32+
api = GroupDocsAnnotationCloud::InfoApi.from_keys(app_sid, app_key)
6633

6734
# Retrieve supported file-formats
6835
response = api.get_supported_file_formats
@@ -74,11 +41,18 @@ response.formats.each do |format|
7441
end
7542
```
7643

77-
## GroupDocs.Annotation Cloud SDKs in Popular Languages
44+
## Licensing
45+
46+
GroupDocs.Annotation Cloud Ruby SDK licensed under [MIT License](LICENSE).
47+
48+
## Resources
49+
50+
+[**Website**](https://www.groupdocs.cloud)
51+
+[**Product Home**](https://products.groupdocs.cloud/annotation)
52+
+[**Documentation**](https://docs.groupdocs.cloud/annotation)
53+
+[**Free Support Forum**](https://forum.groupdocs.cloud/c/annotation)
54+
+[**Blog**](https://blog.groupdocs.cloud/category/annotation)
7855

79-
| .NET | Java | PHP | Python | Ruby | Node.js |
80-
|---|---|---|---|---|---|
81-
| [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node) |
82-
| [NuGet](https://www.nuget.org/packages/GroupDocs.Annotation-Cloud/) | [Maven](https://repository.groupdocs.cloud/webapp/#/artifacts/browse/tree/General/repo/com/groupdocs/groupdocs-annotation-cloud) | [Composer](https://packagist.org/packages/groupdocscloud/groupdocs-annotation-cloud) | [PIP](https://pypi.org/project/groupdocs-annotation-cloud/) | [GEM](https://rubygems.org/gems/groupdocs_annotation_cloud) | [NPM](https://www.npmjs.com/package/groupdocs-annotation-cloud) |
56+
## Contact Us
8357

84-
[Home](https://www.groupdocs.cloud/) | [Product Page](https://products.groupdocs.cloud/annotation/ruby) | [Documentation](https://docs.groupdocs.cloud/annotation/) | [Live Demo](https://products.groupdocs.app/annotation/total) | [API Reference](https://apireference.groupdocs.cloud/annotation/) | [Code Samples](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby-samples) | [Blog](https://blog.groupdocs.cloud/category/annotation/) | [Free Support](https://forum.groupdocs.cloud/c/annotation) | [Free Trial](https://dashboard.groupdocs.cloud)
58+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/annotation).

lib/groupdocs_annotation_cloud.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ------------------------------------------------------------------------------------
22
# <copyright company="Aspose Pty Ltd" file="groupdocs_annotation_cloud.rb">
3-
# Copyright (c) 2003-2020 Aspose Pty Ltd
3+
# Copyright (c) 2003-2021 Aspose Pty Ltd
44
# </copyright>
55
# <summary>
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -30,12 +30,14 @@
3030
require_relative 'groupdocs_annotation_cloud/configuration'
3131

3232
# Models
33+
require_relative 'groupdocs_annotation_cloud/models/annotate_options'
3334
require_relative 'groupdocs_annotation_cloud/models/annotation_info'
3435
require_relative 'groupdocs_annotation_cloud/models/annotation_reply_info'
3536
require_relative 'groupdocs_annotation_cloud/models/disc_usage'
3637
require_relative 'groupdocs_annotation_cloud/models/document_info'
3738
require_relative 'groupdocs_annotation_cloud/models/error'
3839
require_relative 'groupdocs_annotation_cloud/models/error_details'
40+
require_relative 'groupdocs_annotation_cloud/models/file_info'
3941
require_relative 'groupdocs_annotation_cloud/models/file_versions'
4042
require_relative 'groupdocs_annotation_cloud/models/files_list'
4143
require_relative 'groupdocs_annotation_cloud/models/files_upload_result'
@@ -47,7 +49,9 @@
4749
require_relative 'groupdocs_annotation_cloud/models/page_images'
4850
require_relative 'groupdocs_annotation_cloud/models/page_info'
4951
require_relative 'groupdocs_annotation_cloud/models/point'
52+
require_relative 'groupdocs_annotation_cloud/models/preview_options'
5053
require_relative 'groupdocs_annotation_cloud/models/rectangle'
54+
require_relative 'groupdocs_annotation_cloud/models/remove_options'
5155
require_relative 'groupdocs_annotation_cloud/models/storage_exist'
5256
require_relative 'groupdocs_annotation_cloud/models/storage_file'
5357
require_relative 'groupdocs_annotation_cloud/models/annotation_api_link'

0 commit comments

Comments
 (0)