lib/ezid/responses/response.rb in ezid-client-1.9.4 vs lib/ezid/responses/response.rb in ezid-client-1.10.0

- old
+ new

@@ -13,11 +13,9 @@ # Error response status ERROR = "error".freeze def initialize(http_response) - http_response.value # raises Net::HTTPServerException - super unless status_line =~ /^(#{SUCCESS}|#{ERROR}): / raise UnexpectedResponseError, __getobj__.body end