lib/pancakes.js
function getService(name) {
    if (name.indexOf('.') >= 0) {
        name = utils.getCamelCase(name);
    }

    if (!name.match(/^.*Service$/)) {
        name += 'Service';
    }

    return cook(name);
}
function getService(name) {
    if (name.indexOf('.') >= 0) {
        name = utils.getCamelCase(name);
    }

    if (!name.match(/^.*Service$/)) {
        name += 'Service';
    }

    return cook(name);
}
function getService ( name ) { if ( name . indexOf ( '.' ) >= 0 ) { name = utils . getCamelCase ( name ) ; } if ( ! name . match ( / ^.*Service$ / ) ) { name += 'Service' ; } return cook ( name ) ; }
Get the service for a given resource name
@param name
Get the service for a given resource name