Skip to content

Commit b1c88c9

Browse files
Updated README
1 parent ff294d3 commit b1c88c9

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ gem "groupdocs_annotation_cloud", "~> 20.10"
5656
# Load the gem
5757
require 'groupdocs_annotation_cloud'
5858

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

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

6667
# Retrieve supported file-formats
6768
response = api.get_supported_file_formats

0 commit comments

Comments
 (0)