Skip to content

Commit d7007b3

Browse files
Rename credentials
1 parent e09fa53 commit d7007b3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Examples/RunExamples.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
require 'groupdocs_viewer_cloud'
22
require './Common.rb'
33

4-
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
5-
$app_sid = "XXXX-XXXX-XXXX-XXXX"
6-
$app_key = "XXXXXXXXXXXXXXXX"
4+
# Get your client id and client secret at https://dashboard.groupdocs.cloud (free registration is required).
5+
$client_id = "XXXX-XXXX-XXXX-XXXX"
6+
$client_secret = "XXXXXXXXXXXXXXXX"
77

8-
$config = GroupDocsViewerCloud::Configuration.new($app_sid, $app_key)
8+
$config = GroupDocsViewerCloud::Configuration.new($client_id, $client_secret)
99
$config.api_base_url = "https://api.groupdocs.cloud"
1010

1111
class RunExamples

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ This repository contains [Examples](Examples) projects for [GroupDocs.Viewer Clo
1212
## Prerequisites
1313

1414
+ Ruby with Gem installed
15-
+ Get your AppSID and AppKey at [https://dashboard.groupdocs.cloud](https://dashboard.groupdocs.cloud) (free registration is required).
15+
+ Get your client id and client secret at [https://dashboard.groupdocs.cloud](https://dashboard.groupdocs.cloud) (free registration is required).
1616

1717
## How to Run the Examples?
1818

1919
The package contains Ruby examples. Follow the given steps to proceed run:
2020

2121
* Extract the downloaded project
22-
* Edit RunExamples.rb and put appSid and appKey, obtained from [https://dashboard.groupdocs.cloud](https://dashboard.groupdocs.cloud) there
22+
* Edit RunExamples.rb and put client id and client secret, obtained from [https://dashboard.groupdocs.cloud](https://dashboard.groupdocs.cloud) there
2323
* Go to "Examples" directory of the project
2424
* Execute "gem install groupdocs_viewer_cloud" command
2525
* Run examples using "ruby RunExamples.rb" command

0 commit comments

Comments
 (0)