diff --git a/lib/restler-q.js b/lib/restler-q.js index 9e4e6df..9d9fbf8 100644 --- a/lib/restler-q.js +++ b/lib/restler-q.js @@ -40,7 +40,7 @@ function wrapMethod(method, spread) { } -module.exports = ['get','post','put','del','head', 'json', 'postJson', 'putJson'].reduce(function(memo, method) { +module.exports = ['get', 'post', 'put', 'del', 'head', 'patch', 'json', 'postJson', 'putJson', 'patchJson'].reduce(function(memo, method) { var underlying = rest[method]; if(underlying) { memo[method] = wrapMethod(underlying);