dist/corbel.with-polyfills.js
function(data, options) {
                options = this.getDefaultOptions(options);

                var args = corbel.utils.extend(options, {
                    url: this.buildUri(this.type),
                    method: corbel.request.method.PUT,
                    contentType: options.dataType,
                    Accept: options.dataType,
                    data: data
                });

                return this.request(args);
            }
function(data, options) {
                options = this.getDefaultOptions(options);

                var args = corbel.utils.extend(options, {
                    url: this.buildUri(this.type),
                    method: corbel.request.method.PUT,
                    contentType: options.dataType,
                    Accept: options.dataType,
                    data: data
                });

                return this.request(args);
            }
function ( data , options ) { options = this . getDefaultOptions ( options ) ; var args = corbel . utils . extend ( options , { url : this . buildUri ( this . type ) , method : corbel . request . method . PUT , contentType : options . dataType , Accept : options . dataType , data : data } ) ; return this . request ( args ) ; }
Update every element in a collection, accepts query params
@method
@memberOf resources.CollectionBuilder
@param  {Object} data             The element to be updated
@param  {Object} options/query    Options object with dataType request option
@return {Promise}                 ES6 promise that resolves to an {Array} of resources or rejects with a {@link CorbelError}
Update every element in a collection accepts query params