Created
June 12, 2015 18:29
-
-
Save jordan112/c15fbacefac46fbe2ff2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getList(parms) { | |
var defaultParams = { endpoint: '', params: {}, doCache: true, doLog: true, capitalizeIdString: false, firstLetterCapitalize: true, api: restangular }; | |
parms = _.extend(defaultParams, parms); | |
return baseService.getList(endpoint, _utils.getParsedODataFilter(parms.params, parms.capitalizeIdString, parms.firstLetterCapitalize), parms.doCache, parms.doLog, parms.api); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment