lib/airborne/base.rb in airborne-0.1.4 vs lib/airborne/base.rb in airborne-0.1.5
- old
+ new
@@ -46,10 +46,11 @@
def head(url, headers = nil)
set_response(make_request(:head, url, {headers: headers}))
end
- def options()
+ def options(url, headers = nil)
+ set_response(make_request(:options, url, {headers: headers}))
end
def response
@response
end