lib/usergrid/class_statics.js
function(attributes) {
        if (_.isString(attributes)) { attributes = { uuid: attributes }; } // assume it's a uuid
        var data =_.assign({}, this._usergrid.defaults, attributes);
        data.type = this._usergrid.type;
        return wrap(this, new usergrid_sdk.entity({data: data, client: client}));
      }
function(attributes) {
        if (_.isString(attributes)) { attributes = { uuid: attributes }; } // assume it's a uuid
        var data =_.assign({}, this._usergrid.defaults, attributes);
        data.type = this._usergrid.type;
        return wrap(this, new usergrid_sdk.entity({data: data, client: client}));
      }
function ( attributes ) { if ( _ . isString ( attributes ) ) { attributes = { uuid : attributes } ; } // assume it's a uuid var data = _ . assign ( { } , this . _usergrid . defaults , attributes ) ; data . type = this . _usergrid . type ; return wrap ( this , new usergrid_sdk . entity ( { data : data , client : client } ) ) ; }
attributes may be string (assumes it's a uuid) or an object containing data attributes
attributes may be string ( assumes it s a uuid ) or an object containing data attributes