@@ -29,8 +29,7 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929## Read PDF Formats
3030MHT, PCL, PS, XSLFO, MD
3131
32- ## Enhancements in Version 24.2
33- - Memory leak when converting PDF to DOCX.
32+ ## Enhancements in Version 24.3
3433- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3534
3635## Installation
@@ -46,15 +45,15 @@ gem build aspose_pdf_cloud.gemspec
4645Then either install the gem locally:
4746
4847``` shell
49- gem install ./aspose_pdf_cloud-24.2 .0.gem
48+ gem install ./aspose_pdf_cloud-24.3 .0.gem
5049```
51- (for development, run ` gem install --dev ./aspose_pdf_cloud-24.2 .0.gem ` to install the development dependencies)
50+ (for development, run ` gem install --dev ./aspose_pdf_cloud-24.3 .0.gem ` to install the development dependencies)
5251
5352or publish the gem to a gem hosting service, e.g. [ RubyGems] ( https://rubygems.org/ ) .
5453
5554Finally add this to the Gemfile:
5655
57- gem 'aspose_pdf_cloud', '~> 24.2 .0'
56+ gem 'aspose_pdf_cloud', '~> 24.3 .0'
5857
5958### Install from Git
6059
@@ -67,19 +66,19 @@ Add the following in the Gemfile:
6766
6867``` ruby
6968 # Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
69+ @pdf_api = PdfApi .new (' MY_CLIENT_ID' , ' MY_CLIENT_SECRET' )
70+ file_name = ' PdfWithAnnotations.pdf'
71+ page_number = 2
72+ opts = {
73+ :folder => ' tempFolder'
74+ }
75+ response = @pdf_api .get_page_annotations(file_name, page_number, opts)
76+ ```
7077
71- AsposePdfCloud .configure do |config |
72- config.client_data[' ClientId' ] = ' MY_CLIENT_ID'
73- config.client_data[' ClientSecret' ] = ' MY_CLIENT_SECRET'
74- config.host = host
75-
76- file_name = ' PdfWithAnnotations.pdf'
77- page_number = 2
78- opts = {
79- :folder => ' tempFolder'
80- }
81-
82- response = @pdf_api .get_page_annotations(file_name, page_number, opts)
78+ ## SelfHost Aspose.PDF Cloud
79+ Create ** PdfApi** object without ** app_key** and ** app_sid** parameters, but with ** host** parameter set to * url of SelfHost Aspose.PDF Cloud* and ** self_host** parameter set to * true* :
80+ ``` ruby
81+ @pdf_api = PdfApi .new (' ' , ' ' , ' MY_SELFHOST_URL' , true )
8382```
8483
8584## Unit Tests
0 commit comments