redis/index.js
function get(key) {
  if (!module.exports.client) {
    return bluebird.reject(notFoundError(key));
  }

  return module.exports.client.hgetAsync(REDIS_HASH, key)
    .then(data => data || bluebird.reject(notFoundError(key)));
}
function get(key) {
  if (!module.exports.client) {
    return bluebird.reject(notFoundError(key));
  }

  return module.exports.client.hgetAsync(REDIS_HASH, key)
    .then(data => data || bluebird.reject(notFoundError(key)));
}
function get ( key ) { if ( ! module . exports . client ) { return bluebird . reject ( notFoundError ( key ) ) ; } return module . exports . client . hgetAsync ( REDIS_HASH , key ) . then ( data => data || bluebird . reject ( notFoundError ( key ) ) ) ; }
Read a single value from a hash

@param  {String} key
@return {Promise}
Read a single value from a hash