From 85a93745e73d0dda38b450074b54475f74671577 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 26 Sep 2009 20:25:48 -0400 Subject: [PATCH] Removed the redundant get_page_data method from the Yikers class. --- src/websites/yikers.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/websites/yikers.rb b/src/websites/yikers.rb index 4b13a02..bb90e3b 100644 --- a/src/websites/yikers.rb +++ b/src/websites/yikers.rb @@ -80,19 +80,5 @@ class Yikers < Website return xml_path end - - - def get_page_data(url) - uri = URI.parse(url) - - response = Net::HTTP.start(uri.host, uri.port) do |http| - http_path = uri.path - http_path += ('?' + uri.query) if not uri.query.nil? - http.get(http_path) - end - return response.body - end - - end -- 2.44.2