Class: Zold::Http::Error
- Inherits:
-
Object
- Object
- Zold::Http::Error
- Defined in:
- lib/zold/http.rb
Overview
The error, if connection fails
Instance Method Summary collapse
- #body ⇒ Object
- #code ⇒ Object
-
#initialize(ex) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(ex) ⇒ Error
Returns a new instance of Error.
91 92 93 |
# File 'lib/zold/http.rb', line 91 def initialize(ex) @ex = ex end |