code: function (settings) {
    validatePresenceOfOptions(settings, ['urlTemplate', 'userName']);
  
    if (settings.templateName) {
      this.endpoints = {
        get: [WindshaftConfig.MAPS_API_BASE_URL, 'named', settings.templateName, 'jsonp'].join('/'),
        post: [WindshaftConfig.MAPS_API_BASE_URL, 'named', settings.templateName].join('/')
      };
    } else {
      this.endpoints = {
        get: WindshaftConfig.MAPS_API_BASE_URL,
        post: WindshaftConfig.MAPS_API_BASE_URL
      };
    }
  
    this.url = settings.urlTemplate.replace('{user}', settings.userName);
    this._requestTracker = new RequestTracker(MAP_INSTANTIATION_LIMIT);
  }
docs: Windshaft client. It provides a method to create instances of maps in Windshaft.
  @param {object} options Options to set up the client