Class: LinkChecker::Error
Overview
A bad result. The URL is not valid for some reason. Any reason, other than a 200 HTTP response.
representing the error.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(params) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(params) ⇒ Error
Returns a new instance of Error.
249 250 251 252 |
# File 'lib/link_checker.rb', line 249 def initialize(params) @error = params[:error] super(params) end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
248 249 250 |
# File 'lib/link_checker.rb', line 248 def error @error end |