lib/airborne/base.rb in airborne-0.1.19 vs lib/airborne/base.rb in airborne-0.1.20
- old
+ new
@@ -43,11 +43,11 @@
def put(url, put_body = nil, headers = nil)
@response = make_request(:put, url, body: put_body, headers: headers)
end
- def delete(url, headers = nil)
- @response = make_request(:delete, url, headers: headers)
+ def delete(url, delete_body = nil, headers = nil)
+ @response = make_request(:delete, url, body: delete_body, headers: headers)
end
def head(url, headers = nil)
@response = make_request(:head, url, headers: headers)
end