Created
April 8, 2015 22:11
-
-
Save cgcardona/6bd89a704f22e90c421a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['00001', '00002', '00003'].each do |zipcode| | |
data_hash = JSON.parse(HTTParty.get("http://example.com?zipcode=#{zipcode}").body) | |
data_hash = nil | |
GC.start | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment