diff options
| -rw-r--r-- | lib/net/hippie/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/hippie/client.rb b/lib/net/hippie/client.rb index b496204..c5a6618 100644 --- a/lib/net/hippie/client.rb +++ b/lib/net/hippie/client.rb @@ -43,7 +43,7 @@ module Net execute(uri, request, &block) end - def post(uri, headers: {}, body: {}, &block) + def patch(uri, headers: {}, body: {}, &block) type = Net::HTTP::Patch request = request_for(type, uri, headers: headers, body: body) execute(uri, request, &block) |
