Skip to content

Commit

Permalink
Returning joinUrl #1 - Putting back commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
teodortalov committed Jul 25, 2014
1 parent 0cd9a75 commit ad96cc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use Citrix\Entity\Consumer;

//authenticate
$client = new Citrix('ZOyODCZyVVDHCrMzzcwqOvqXaG5iAmpX');
$client->auth('[email protected]', 'Jda084B0DP');
$client = new Citrix('CONSUMER_KEY');
$client->auth('USERNAME', 'PASSWORD');

//get upcoming weibnars
$goToWebinar = new GoToWebinar($client);
Expand All @@ -38,7 +38,7 @@
$registration = $webinar->registerConsumer($consumer);

if($registration->hasErrors()){
// throw new \Exception($registration->getError());
throw new \Exception($registration->getError());
}

var_dump('You just registered!');

0 comments on commit ad96cc9

Please sign in to comment.