Exception: Served::HTTPClient::ConnectionFailed

Inherits:
Error show all
Defined in:
lib/served/http_client.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ ConnectionFailed

Returns a new instance of ConnectionFailed.



15
16
17
# File 'lib/served/http_client.rb', line 15

def initialize(resource)
  super "Resource '#{resource.name}' could not be reached on '#{resource.host}'"
end