src/lib/PumpupAPI.js
/**
   * ## PumpupApi client
   *
   * @throws tokenMissing if token is undefined
   */
PumpupApi client
@throws tokenMissing if token is undefined
PumpupApi client @throws tokenMissing if token is undefined
initialize (token) {
    if (!_.isNull(token) && _.isUndefined(token)) {
      throw new Error('TokenMissing')
    }
    this._sessionToken =
      _.isNull(token) ? null : token
    this.API_BASE_URL = CONFIG.backend.PumpupApiLocal
          ? CONFIG.PumpupApi.local.url
          : CONFIG.PumpupApi.remote.url
  }
initialize ( token ) { if ( ! _ . isNull ( token ) && _ . isUndefined ( token ) ) { throw new Error ( 'TokenMissing' ) } this . _sessionToken = _ . isNull ( token ) ? null : token this . API_BASE_URL = CONFIG . backend . PumpupApiLocal ? CONFIG . PumpupApi . local . url : CONFIG . PumpupApi . remote . url }
## PumpupApi client
 @throws tokenMissing if token is undefined
## PumpupApi client @throws tokenMissing if token is undefined