diff --git a/examples.php b/examples.php index d89af6f..6f63752 100644 --- a/examples.php +++ b/examples.php @@ -10,8 +10,8 @@ use Citrix\Entity\Consumer; //authenticate -$client = new Citrix('ZOyODCZyVVDHCrMzzcwqOvqXaG5iAmpX'); -$client->auth('info@charityhowto.com', 'Jda084B0DP'); +$client = new Citrix('CONSUMER_KEY'); +$client->auth('USERNAME', 'PASSWORD'); //get upcoming weibnars $goToWebinar = new GoToWebinar($client); @@ -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!');