Exception: Rest::Wrappers::InternalClientExceptionWrapper
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) ⇒ InternalClientExceptionWrapper
constructor
A new instance of InternalClientExceptionWrapper.
Methods inherited from HttpError
Constructor Details
#initialize(ex) ⇒ InternalClientExceptionWrapper
Returns a new instance of InternalClientExceptionWrapper.
9 10 11 12 |
# File 'lib/rest/wrappers/internal_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/internal_client_wrapper.rb', line 7 def ex @ex end |