static _objectToQueryString(data) {
    let props = Object.getOwnPropertyNames(data);
    return props
      .map(p => `${encodeURIComponent(p)}=${encodeURIComponent(data[p])}`)
      .join('&');
  }
/**
   * Transforms an object into a query string for GET requests
   *
   * @param {Object} data - Data to transform to a query string
   * @returns {string}    - Final query string
   * @private
   */
Transforms an object into a query string for GET requests
@param {Object} data - Data to transform to a query string
@returns {string}    - Final query string
@private
Transforms an object into a query string for GET requests @param { Object } data - Data to transform to a query string @returns { string } - Final query string @private
static _objectToQueryString(data) {
    let props = Object.getOwnPropertyNames(data);
    return props
      .map(p => `${encodeURIComponent(p)}=${encodeURIComponent(data[p])}`)
      .join('&');
  }
static _objectToQueryString ( data ) { let props = Object . getOwnPropertyNames ( data ) ; return props . map ( p => ` ${ encodeURIComponent ( p ) } ${ encodeURIComponent ( data [ p ] ) } ` ) . join ( '&' ) ; }
Transforms an object into a query string for GET requests
 @param {Object} data - Data to transform to a query string
 @returns {string}    - Final query string
 @private
Transforms an object into a query string for GET requests @param { Object } data - Data to transform to a query string @returns { string } - Final query string @private