lib/mbaasRequest/mbaasRequest.js
function validateAppParams(params) {
  params = params || {};

  var expectedAppParams = ["project", "app", "accessKey", "appApiKey", "url"];

  var missingParam = validateCommonParams(params);

  if (missingParam) {
    return new Error("Missing Param " + missingParam);
  }

  missingParam = validateParamsPresent(expectedAppParams, params);

  if (missingParam) {
    return new Error("Missing MbaaS Config Param " + missingParam);
  }

  return undefined;
}
function validateAppParams(params) {
  params = params || {};

  var expectedAppParams = ["project", "app", "accessKey", "appApiKey", "url"];

  var missingParam = validateCommonParams(params);

  if (missingParam) {
    return new Error("Missing Param " + missingParam);
  }

  missingParam = validateParamsPresent(expectedAppParams, params);

  if (missingParam) {
    return new Error("Missing MbaaS Config Param " + missingParam);
  }

  return undefined;
}
function validateAppParams ( params ) { params = params || { } ; var expectedAppParams = [ "project" , "app" , "accessKey" , "appApiKey" , "url" ] ; var missingParam = validateCommonParams ( params ) ; if ( missingParam ) { return new Error ( "Missing Param " + missingParam ) ; } missingParam = validateParamsPresent ( expectedAppParams , params ) ; if ( missingParam ) { return new Error ( "Missing MbaaS Config Param " + missingParam ) ; } return undefined ; }
App API Requests To An MbaaS Require
@param params
@returns {*}
@private
App API Requests To An MbaaS Require