method
response_class
response_class(code)
private
Hide source
# File lib/net/http.rb, line 2034 def response_class(code) CODE_TO_OBJ[code] or CODE_CLASS_TO_OBJ[code[0,1]] or HTTPUnknownResponse end