(routes = [], appId)
| 36 | // response: a json object with the content of the response |
| 37 | // location: optional. a location header |
| 38 | constructor(routes = [], appId) { |
| 39 | this.routes = routes; |
| 40 | this.appId = appId; |
| 41 | this.mountRoutes(); |
| 42 | } |
| 43 | |
| 44 | // Leave the opportunity to |
| 45 | // subclasses to mount their routes by overriding |
nothing calls this directly
no test coverage detected