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.
456 457 458 459 |
# File 'lib/active_rest_client/request.rb', line 456 def initialize() @status = [:status] @body = [:body] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
455 456 457 |
# File 'lib/active_rest_client/request.rb', line 455 def body @body end |
#status ⇒ Object
Returns the value of attribute status.
455 456 457 |
# File 'lib/active_rest_client/request.rb', line 455 def status @status end |