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