code: function (execOptions) {
                  var url = this._basePath + 'batch';
                  var data = JSON.stringify({methods: this._batch});
                  sendAjaxRequest(url, data, execOptions).then(
                      this._resolvePromises.bind(this, this._batch),
                      this._rejectPromises.bind(this, this._batch)
                  );
  
                  this._batch = [];
              }
docs: Performs batch request.
  
  @param {Object} execOptions Exec-specific options.