From ad96cc9e41bb81027fe29197a2532bb006db67dc Mon Sep 17 00:00:00 2001 From: Teodor Talov Date: Fri, 25 Jul 2014 18:55:25 -0400 Subject: [PATCH] Returning joinUrl #1 - Putting back commented out code --- examples.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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!');