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.
929 930 931 932 933 |
# File 'lib/flexirest/request.rb', line 929 def initialize() @status = [:status] @body = [:body] @headers = [:headers] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
928 929 930 |
# File 'lib/flexirest/request.rb', line 928 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
928 929 930 |
# File 'lib/flexirest/request.rb', line 928 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status.
928 929 930 |
# File 'lib/flexirest/request.rb', line 928 def status @status end |