End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTPResponse#value
value
lib/net/http/response.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/net/http/response.rb, line 266
def value
error! unless self.kind_of?(Net::HTTPSuccess)
end
Raises an HTTP error if the response is not 2xx (success).