class CMSScanner::Error::TargetDown

Target Down Error

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
# File lib/cms_scanner/errors/http.rb, line 9
def initialize(response)
  @response = response
end

Public Instance Methods

to_s() click to toggle source
# File lib/cms_scanner/errors/http.rb, line 13
def to_s
  "The url supplied '#{response.request.url}' seems to be down (#{response.return_message})"
end