library/Benri/Bootstrap.php
protected function _initRestRoute()
    {
        $front = Zend_Controller_Front::getInstance();
        $front->setResponse(new Benri_Controller_Response_Http());
        $front->setRequest(new Benri_Controller_Request_Http());

        $front->getRouter()->addRoute('benri-app', new Zend_Rest_Route($front));
    }
protected function _initRestRoute()
    {
        $front = Zend_Controller_Front::getInstance();
        $front->setResponse(new Benri_Controller_Response_Http());
        $front->setRequest(new Benri_Controller_Request_Http());

        $front->getRouter()->addRoute('benri-app', new Zend_Rest_Route($front));
    }
Initialize rest routes.