Exception: Rest::Wrappers::RestClientExceptionWrapper
Instance Attribute Summary collapse
-
#ex ⇒ Object
readonly
Returns the value of attribute ex.
Attributes inherited from HttpError
#code, #msg, #options, #response
Instance Method Summary collapse
-
#initialize(ex) ⇒ RestClientExceptionWrapper
constructor
A new instance of RestClientExceptionWrapper.
Methods inherited from HttpError
Constructor Details
#initialize(ex) ⇒ RestClientExceptionWrapper
Returns a new instance of RestClientExceptionWrapper.
9 10 11 12 |
# File 'lib/rest/wrappers/rest_client_wrapper.rb', line 9 def initialize(ex) super(ex.response, ex.http_code) @ex = ex end |
Instance Attribute Details
#ex ⇒ Object (readonly)
Returns the value of attribute ex.
7 8 9 |
# File 'lib/rest/wrappers/rest_client_wrapper.rb', line 7 def ex @ex end |