Exception: Ebay::ConnectionError
- Inherits:
-
StandardError
- Object
- StandardError
- Ebay::ConnectionError
- Defined in:
- lib/ebay/request/connection.rb
Overview
:nodoc:
Instance Attribute Summary (collapse)
-
- (Object) response
readonly
Returns the value of attribute response.
Instance Method Summary (collapse)
-
- (ConnectionError) initialize(response, message = nil)
constructor
A new instance of ConnectionError.
- - (Object) to_s
Constructor Details
- (ConnectionError) initialize(response, message = nil)
A new instance of ConnectionError
10 11 12 13 |
# File 'lib/ebay/request/connection.rb', line 10 def initialize(response, = nil) @response = response @message = end |
Instance Attribute Details
- (Object) response (readonly)
Returns the value of attribute response
8 9 10 |
# File 'lib/ebay/request/connection.rb', line 8 def response @response end |
Instance Method Details
- (Object) to_s
15 16 17 |
# File 'lib/ebay/request/connection.rb', line 15 def to_s "Failed with #{response.code}" end |