File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,12 +56,13 @@ gem "groupdocs_annotation_cloud", "~> 20.10"
5656# Load the gem
5757require ' 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
6768response = api.get_supported_file_formats
You can’t perform that action at this time.
0 commit comments