CloutApiRoute

CloutApiRoute

CloutApiRoute

Constructor

new CloutApiRoute(_opts)

Source:
Parameters:
Name Type Description
_opts object
Name Type Attributes Description
path string
hooks array <optional>
method string <optional>
methods array <optional>
group string
name string
description string
fn function

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