lib/ezclient/response.rb in ezclient-0.13.1 vs lib/ezclient/response.rb in ezclient-0.14.0

- old
+ new

@@ -15,9 +15,13 @@ def code http_response.code end alias status code + def cookies + http_response.cookies + end + def ok? code.between?(200, 299) end def redirect?