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.
943 944 945 946 947 |
# File 'lib/flexirest/request.rb', line 943 def initialize() @status = [:status] @body = [:body] @headers = [:headers] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
942 943 944 |
# File 'lib/flexirest/request.rb', line 942 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
942 943 944 |
# File 'lib/flexirest/request.rb', line 942 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status.
942 943 944 |
# File 'lib/flexirest/request.rb', line 942 def status @status end |