Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ['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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement