lib/patch.js
function fixHttpMethod (fn, name) {
  if (fn.http && fn.http.verb && fn.http.verb.toLowerCase() === 'put') {
    fn.http.verb = 'patch'
  }
}
function fixHttpMethod (fn, name) {
  if (fn.http && fn.http.verb && fn.http.verb.toLowerCase() === 'put') {
    fn.http.verb = 'patch'
  }
}
function fixHttpMethod ( fn , name ) { if ( fn . http && fn . http . verb && fn . http . verb . toLowerCase ( ) === 'put' ) { fn . http . verb = 'patch' } }
Copied from loopbacks Model class. Changes `PUT` request to `PATCH`
@private
@memberOf {Patch}
@param {Function} fn
@param {String} name
@return {undefined}
Copied from loopbacks Model class . Changes PUT request to PATCH