Constructor
new CloutApiRoute(_opts)
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_opts |
object
|
|
Methods
attachRouter(router)
attach express router
- Source:
Parameters:
Name | Type | Description |
---|---|---|
router |
object
|
express router |
handlePromisePostTriggers(fn)
handles router method in a promise
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fn |
*
|
RouterCallback |