Skip to content

Commit

Permalink
Update example.gs
Browse files Browse the repository at this point in the history
remove new keyword to keep example inline with current library.
  • Loading branch information
Spencer-Easton committed Aug 30, 2015
1 parent 6f7fa78 commit cddbb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example.gs
Expand Up @@ -6,7 +6,7 @@ function example(){
var clientEmail = jsonKey.client_email;

//example how to request OAuth2 tokens of your domain users
var userTokens = new GSApp.init(key, ['https://www.googleapis.com/auth/drive'], clientEmail);
var userTokens = GSApp.init(key, ['https://www.googleapis.com/auth/drive'], clientEmail);
userTokens.addUser("1test@example.com")
.addUser("1test@example.com") //add multiple users to batch process
.removeUsers() //remove all users
Expand Down

0 comments on commit cddbb65

Please sign in to comment.