Methods
(inner) build(routes) → {object}
Build a route tree by reducing over a routes definition object from the API root endpoint response object
- Source:
Parameters:
Name | Type | Description |
---|---|---|
routes |
object
|
A dictionary of routes keyed by route regex strings |
Returns:
- Type:
-
object
A dictionary, keyed by namespace, of resource handler factory methods for each namespace's resources