examples/middleware/build_method_name.js
function buildMethodName(req) {
    return [
        req.params.service,
        req.params.subservice
    ].filter(Boolean).join('-');
}
function buildMethodName(req) {
    return [
        req.params.service,
        req.params.subservice
    ].filter(Boolean).join('-');
}
function buildMethodName ( req ) { return [ req . params . service , req . params . subservice ] . filter ( Boolean ) . join ( '-' ) ; }
Build a custom method name.

@param {express.Request} req
@returns {String}
Build a custom method name .