lib/client.js
function(callback) {
        request.get(this.getUserUrl(), function(err, res, body) {
            if (body && body.lastModified) {
                body.lastModified = new Date(body.lastModified);
            }

            if (body && !body.user && body.publicKey) {
                body.user = body.publicKey;
            }

            callback(err, body, res);
        });

        return this;
    }
function(callback) {
        request.get(this.getUserUrl(), function(err, res, body) {
            if (body && body.lastModified) {
                body.lastModified = new Date(body.lastModified);
            }

            if (body && !body.user && body.publicKey) {
                body.user = body.publicKey;
            }

            callback(err, body, res);
        });

        return this;
    }
function ( callback ) { request . get ( this . getUserUrl ( ) , function ( err , res , body ) { if ( body && body . lastModified ) { body . lastModified = new Date ( body . lastModified ) ; } if ( body && ! body . user && body . publicKey ) { body . user = body . publicKey ; } callback ( err , body , res ) ; } ) ; return this ; }
Fetch the user info of the current user

@param {Function} callback
@return {ImboClient}
Fetch the user info of the current user