diff options
| author | Zouski <nick.warshawski@gmail.com> | 2019-04-29 23:13:42 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-29 23:13:42 -0600 |
| commit | ed3468dc231d84aaf26883f3ea547c13c79eb02f (patch) | |
| tree | ab01d3debd0ef0820b7ca3a75d8415b3596381e2 | |
| parent | 57fba4ae06a23111d4aa7ad7bd63b514d4f16b6c (diff) | |
Update client.rb
| -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) |
