lib/xeroizer/http.rb in xeroizer-2.18.1 vs lib/xeroizer/http.rb in xeroizer-2.19.0
- old
+ new
@@ -110,9 +110,11 @@
after_request.call(request_info, response) if after_request
case response.code.to_i
when 200
response.plain_body
+ when 204
+ nil
when 400
handle_error!(response, body)
when 401
handle_oauth_error!(response)
when 404