Class: URLCanonicalize::Result::Hop

Inherits:
Struct
  • Object
show all
Defined in:
lib/url_canonicalize/result.rb

Overview

One step in the request chain: the URL that was requested and how it was discovered (:initial, :redirect or :canonical_link)

Instance Attribute Summary collapse

Instance Attribute Details

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



9
10
11
# File 'lib/url_canonicalize/result.rb', line 9

def url
  @url
end

#viaObject

Returns the value of attribute via

Returns:

  • (Object)

    the current value of via



9
10
11
# File 'lib/url_canonicalize/result.rb', line 9

def via
  @via
end