Method: Patron::Response#url

Defined in:
lib/patron/response.rb

#urlString (readonly)

Returns the original URL used to perform the request (contains the final URL after redirects).

Returns:

  • (String)

    the original URL used to perform the request (contains the final URL after redirects)



8
9
10
# File 'lib/patron/response.rb', line 8

def url
  @url
end