Returns the string path for the request:
Net::HTTP::Get.new(uri).path # => "/" Net::HTTP::Post.new('example.com').path # => "example.com"
72 73 74
# File 'lib/net/http/generic_request.rb', line 72 def path @path end