Skip to content

Instantly share code, notes, and snippets.

@ashaw
Created January 2, 2011 03:52
Show Gist options
  • Save ashaw/762259 to your computer and use it in GitHub Desktop.
Save ashaw/762259 to your computer and use it in GitHub Desktop.
begin
ScraperWiki
rescue NameError
require 'rest_client'
ScraperWiki = Class.new do
def self.scrape(url)
RestClient.get(url)
end
def self.save(unique_keys=[],data={})
p data
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment