lib/service.js
function http(tick, args) {
    let url = 'https://www.tickspot.com/' + tick.subscriptionID + '/api/v2/';
    url += args.paths.join('/') + '.json';
    if (args.query) {
        url += '?';
        url += _.pairs(args.query).map(p => p.join('=')).join('&');
    }

    return url;
}
function http(tick, args) {
    let url = 'https://www.tickspot.com/' + tick.subscriptionID + '/api/v2/';
    url += args.paths.join('/') + '.json';
    if (args.query) {
        url += '?';
        url += _.pairs(args.query).map(p => p.join('=')).join('&');
    }

    return url;
}
function http ( tick , args ) { let url = 'https://www.tickspot.com/' + tick . subscriptionID + '/api/v2/' ; url += args . paths . join ( '/' ) + '.json' ; if ( args . query ) { url += '?' ; url += _ . pairs ( args . query ) . map ( p => p . join ( '=' ) ) . join ( '&' ) ; } return url ; }
Formats the url
Formats the url