dist/lib/request.js
function requestPromisfied(options) {
  return new Promise(function (resolve, reject) {
    (0, _request2.default)(options, function (err, res) {
      if (err) {
        reject(err);
      }
      resolve(res.body);
    });
  });
}
function requestPromisfied(options) {
  return new Promise(function (resolve, reject) {
    (0, _request2.default)(options, function (err, res) {
      if (err) {
        reject(err);
      }
      resolve(res.body);
    });
  });
}
function requestPromisfied ( options ) { return new Promise ( function ( resolve , reject ) { ( 0 , _request2 . default ) ( options , function ( err , res ) { if ( err ) { reject ( err ) ; } resolve ( res . body ) ; } ) ; } ) ; }
Creates a "Promisfied" HTTPRequest object

@name requestPromisfied
@function
@param {Object} options request options: https://github.com/request/request)
@return {Promise}
Creates a Promisfied HTTPRequest object