lib/storeRedis.js
function( roomID, key, value ) {

		if( roomData[ roomID ] === undefined )
			roomData[ roomID ] = {};

		roomData[ roomID ][ key ] = value;

		return promise.resolve( value );
	}
function( roomID, key, value ) {

		if( roomData[ roomID ] === undefined )
			roomData[ roomID ] = {};

		roomData[ roomID ][ key ] = value;

		return promise.resolve( value );
	}
function ( roomID , key , value ) { if ( roomData [ roomID ] === undefined ) roomData [ roomID ] = { } ; roomData [ roomID ] [ key ] = value ; return promise . resolve ( value ) ; }
set a variable on the rooms data object

@param {String} roomID id for the room whose
@param {String} key variable name/key that you want to set
@param {*} value Value you'd like to set for the variable
@return {Promise} once this promise succeeds the rooms variable will be set
set a variable on the rooms data object