lib/generate.js
function newPutOne(endpoint, options) {
    // for backwards-compatibility <= 0.11.1
    if (_.isArray(options)) options = { allowable: options };
    else options = options || {};
    options.method = "put";
    return newPostOne(endpoint, options);
}
function newPutOne(endpoint, options) {
    // for backwards-compatibility <= 0.11.1
    if (_.isArray(options)) options = { allowable: options };
    else options = options || {};
    options.method = "put";
    return newPostOne(endpoint, options);
}
function newPutOne ( endpoint , options ) { // for backwards-compatibility <= 0.11.1 if ( _ . isArray ( options ) ) options = { allowable : options } ; else options = options || { } ; options . method = "put" ; return newPostOne ( endpoint , options ) ; }
Return a function for editing an item

@param  {String} endpoint
@param  {Object} [options] Passed to {@link module:generate~newPostOne}
@return {itemsPutOneRequest}
Return a function for editing an item