Exception: PortfolioManager::HTTPResponseError
- Defined in:
- lib/portfolio_manager/client.rb
Overview
HTTP Response Error
Instance Attribute Summary collapse
- #response ⇒ Net::HTTPResponse readonly
Instance Method Summary collapse
-
#initialize(response, *args) ⇒ HTTPResponseError
constructor
Default constructor.
Constructor Details
#initialize(response, *args) ⇒ HTTPResponseError
Default constructor.
33 34 35 36 37 |
# File 'lib/portfolio_manager/client.rb', line 33 def initialize(response, *args) super(*args) @response = response end |
Instance Attribute Details
#response ⇒ Net::HTTPResponse (readonly)
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/portfolio_manager/client.rb', line 26 class HTTPResponseError < PortfolioManager::Error attr_reader :response # Default constructor. # # @param response [Net::HTTPResponse] # @param args [Array<Object>] def initialize(response, *args) super(*args) @response = response end end |