Exception: PSRP::HTTPTransportError
- Defined in:
- lib/response_handler.rb
Overview
non-200 response without a SOAP fault
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(msg, status_code) ⇒ HTTPTransportError
constructor
A new instance of HTTPTransportError.
Constructor Details
#initialize(msg, status_code) ⇒ HTTPTransportError
Returns a new instance of HTTPTransportError.
55 56 57 58 |
# File 'lib/response_handler.rb', line 55 def initialize(msg, status_code) @status_code = status_code super(msg + " (#{status_code}).") end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
53 54 55 |
# File 'lib/response_handler.rb', line 53 def status_code @status_code end |