= private = protected
value()
Raises <a href="/ruby/Net/HTTP">HTTP</a> error if the response is not 2xx.
# File lib/net/http.rb, line 2105 def value error! unless self.kind_of?(HTTPSuccess) end