Exception: Firering::Connection::HTTPError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Firering::Connection::HTTPError
- Defined in:
- lib/firering/connection.rb
Instance Attribute Summary (collapse)
-
- (Object) http
readonly
Returns the value of attribute http.
Instance Method Summary (collapse)
-
- (HTTPError) initialize(http)
constructor
A new instance of HTTPError.
- - (Object) to_s
Constructor Details
- (HTTPError) initialize(http)
A new instance of HTTPError
157 158 159 |
# File 'lib/firering/connection.rb', line 157 def initialize(http) @http = http end |
Instance Attribute Details
- (Object) http (readonly)
Returns the value of attribute http
156 157 158 |
# File 'lib/firering/connection.rb', line 156 def http @http end |
Instance Method Details
- (Object) to_s
160 161 162 |
# File 'lib/firering/connection.rb', line 160 def to_s "http error #{@http.error if @http.respond_to?(:error)}".strip end |