lib/client.js
function(groupName, resources, callback) {
        this.resourceGroupExists(groupName, function onGroupExistsResponse(err, exists) {
            if (err) {
                return callback(err);
            }

            if (exists) {
                return callback(new Error(
                    'Resource group `' + groupName + '` already exists'
                ));
            }

            this.editResourceGroup(groupName, resources, callback);
        }.bind(this));

        return this;
    }
function(groupName, resources, callback) {
        this.resourceGroupExists(groupName, function onGroupExistsResponse(err, exists) {
            if (err) {
                return callback(err);
            }

            if (exists) {
                return callback(new Error(
                    'Resource group `' + groupName + '` already exists'
                ));
            }

            this.editResourceGroup(groupName, resources, callback);
        }.bind(this));

        return this;
    }
function ( groupName , resources , callback ) { this . resourceGroupExists ( groupName , function onGroupExistsResponse ( err , exists ) { if ( err ) { return callback ( err ) ; } if ( exists ) { return callback ( new Error ( 'Resource group `' + groupName + '` already exists' ) ) ; } this . editResourceGroup ( groupName , resources , callback ) ; } . bind ( this ) ) ; return this ; }
Create a resource group, defining the resources that sohuld be available to it

@param {String} groupName
@param {Array} resources
@param {Function} callback
@return {ImboCflient}
Create a resource group defining the resources that sohuld be available to it