Class: LinkChecker::Redirect
Overview
A redirection to another URL.
Instance Attribute Summary collapse
-
#final_destination_uri_string ⇒ Object
readonly
Returns the value of attribute final_destination_uri_string.
-
#good ⇒ Object
readonly
Returns the value of attribute good.
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(params) ⇒ Redirect
constructor
A new LinkChecker::Redirect object.
Constructor Details
#initialize(params) ⇒ Redirect
A new LinkChecker::Redirect object.
which is the URL that the original :uri_string redirected to.
235 236 237 238 239 |
# File 'lib/link_checker.rb', line 235 def initialize(params) @final_destination_uri_string = params[:final_destination_uri_string] @good = params[:good] super(params) end |
Instance Attribute Details
#final_destination_uri_string ⇒ Object (readonly)
Returns the value of attribute final_destination_uri_string.
229 230 231 |
# File 'lib/link_checker.rb', line 229 def final_destination_uri_string @final_destination_uri_string end |
#good ⇒ Object (readonly)
Returns the value of attribute good.
228 229 230 |
# File 'lib/link_checker.rb', line 228 def good @good end |