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