whole_func_string: function requestPromise(options) {
    return new Promise((resolve, reject) => {
      request(options, (error, response) => {
        if (!error && response.statusCode === 200) {
          resolve(response);
        } else if (error) {
          reject(error);
        } else {
          reject(new Error(`Status code is ${response.statusCode}`));
        }
      });
    });
  }
func_code_string: function requestPromise(options) {
    return new Promise((resolve, reject) => {
      request(options, (error, response) => {
        if (!error && response.statusCode === 200) {
          resolve(response);
        } else if (error) {
          reject(error);
        } else {
          reject(new Error(`Status code is ${response.statusCode}`));
        }
      });
    });
  }
func_documentation_string: Get promised request
  @param {Object} options
  @returns {Promise}