-
-
Save anonymous/b6bde4261ba93da98b7b 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) | |
# I've tried data_hash.clear and data_hash = nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment