Exception: Flexirest::ResponseParseException
- Inherits:
-
RequestException
- Object
- StandardError
- RequestException
- Flexirest::ResponseParseException
- Defined in:
- lib/flexirest/request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#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.
801 802 803 804 805 |
# File 'lib/flexirest/request.rb', line 801 def initialize() @status = [:status] @body = [:body] @headers = [:headers] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
800 801 802 |
# File 'lib/flexirest/request.rb', line 800 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
800 801 802 |
# File 'lib/flexirest/request.rb', line 800 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status.
800 801 802 |
# File 'lib/flexirest/request.rb', line 800 def status @status end |