Exception: ActiveRestClient::ResponseParseException
- Inherits:
-
RequestException
- Object
- StandardError
- RequestException
- ActiveRestClient::ResponseParseException
- Defined in:
- lib/active_rest_client/request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(options) ⇒ ResponseParseException
constructor
A new instance of ResponseParseException.
Constructor Details
#initialize(options) ⇒ ResponseParseException
Returns a new instance of ResponseParseException.
405 406 407 408 |
# File 'lib/active_rest_client/request.rb', line 405 def initialize() @status = [:status] @body = [:body] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
404 405 406 |
# File 'lib/active_rest_client/request.rb', line 404 def body @body end |
#status ⇒ Object
Returns the value of attribute status.
404 405 406 |
# File 'lib/active_rest_client/request.rb', line 404 def status @status end |