require 'net/http'
str = "https://some_cool_url"
uri = URI.parse(str)
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Get.new(uri.request_uri)
http.use_ssl = true
response = http.request(request)
p response.body
# or response = Net::HTTP.get(uri)
# if not need additional settings like ssl
# p response # but string instead of object