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
711 712 713 714 715 |
# File 'lib/flexirest/request.rb', line 711 def initialize() @status = [:status] @body = [:body] @headers = [:headers] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
710 711 712 |
# File 'lib/flexirest/request.rb', line 710 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
710 711 712 |
# File 'lib/flexirest/request.rb', line 710 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status.
710 711 712 |
# File 'lib/flexirest/request.rb', line 710 def status @status end |