lib/footrest/request.rb in footrest-0.5.7 vs lib/footrest/request.rb in footrest-0.5.8
- old
+ new
@@ -19,9 +19,13 @@
def put(path, options={})
request_with_params_in_body(:put, path, options)
end
+ def patch(path, options={})
+ request_with_params_in_body(:patch, path, options)
+ end
+
def request_with_params_in_url(method, path, options)
request(method) do |r|
r.url(fullpath(path), options)
end
end
\ No newline at end of file