Exception: Flexirest::HTTPException
- Inherits:
-
RequestException
- Object
- StandardError
- RequestException
- Flexirest::HTTPException
- Defined in:
- lib/flexirest/request.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#request_url ⇒ Object
Returns the value of attribute request_url.
-
#result ⇒ Object
Returns the value of attribute result.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(options) ⇒ HTTPException
constructor
A new instance of HTTPException.
Constructor Details
#initialize(options) ⇒ HTTPException
Returns a new instance of HTTPException.
598 599 600 601 602 |
# File 'lib/flexirest/request.rb', line 598 def initialize() @status = [:status] @result = [:result] @request_url = [:url] end |
Instance Attribute Details
#request_url ⇒ Object
Returns the value of attribute request_url.
597 598 599 |
# File 'lib/flexirest/request.rb', line 597 def request_url @request_url end |
#result ⇒ Object
Returns the value of attribute result.
597 598 599 |
# File 'lib/flexirest/request.rb', line 597 def result @result end |
#status ⇒ Object
Returns the value of attribute status.
597 598 599 |
# File 'lib/flexirest/request.rb', line 597 def status @status end |