Module: Net::HTTPExceptions
- Included in:
- HTTPError, HTTPFatalError, HTTPRetriableError, HTTPServerException
- Defined in:
- lib/net/http.rb
Overview
HTTP exception class. You must use its subclasses.
Instance Attribute Summary collapse
-
#response ⇒ Object
(also: #data)
readonly
Returns the value of attribute response.
Instance Method Summary collapse
Instance Attribute Details
#response ⇒ Object (readonly) Also known as: data
Returns the value of attribute response
1710 1711 1712 |
# File 'lib/net/http.rb', line 1710 def response @response end |
Instance Method Details
#initialize(msg, res) ⇒ HTTPExceptions
:nodoc:
1706 1707 1708 1709 |
# File 'lib/net/http.rb', line 1706 def initialize(msg, res) #:nodoc: super msg @response = res end |