Example #1
0
 public function ping(Hermes_Bot $hermes, $params)
 {
     $room = $params['room_id'];
     return $hermes->sayRoom($room, 'Pong');
 }
Example #2
0
 public function testLeave()
 {
     include __DIR__ . '/files/credentials.php';
     $bot = new Hermes_Bot($apiKey, $subdomain, new Zend_Http_Client());
     $bot->leaveRoom($room);
 }