Class: URI::HTTP

Inherits:
Object
  • Object
show all
Defined in:
lib/url_canonicalize/core_ext/uri.rb

Overview

URI having the HTTP protocol

Instance Method Summary collapse

Instance Method Details

#canonicalizeObject



8
9
10
11
# File 'lib/url_canonicalize/core_ext/uri.rb', line 8

def canonicalize(**)
  new_url = URLCanonicalize.canonicalize(to_s, **)
  ::URI.parse(new_url)
end