Class: ActiveResource::PersistentConnection::ServerRefusedConnection
- Inherits:
-
Errno::ECONNREFUSED
- Object
- Errno::ECONNREFUSED
- ActiveResource::PersistentConnection::ServerRefusedConnection
- Defined in:
- lib/active_resource/persistent_connection.rb
Instance Method Summary collapse
-
#initialize(site, path = nil) ⇒ ServerRefusedConnection
constructor
A new instance of ServerRefusedConnection.
- #message ⇒ Object
Constructor Details
#initialize(site, path = nil) ⇒ ServerRefusedConnection
Returns a new instance of ServerRefusedConnection.
24 25 26 |
# File 'lib/active_resource/persistent_connection.rb', line 24 def initialize(site,path=nil) @site, @path = site, path end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/active_resource/persistent_connection.rb', line 28 def "Connection refused to #{@site}#{@path}" end |