This lab today was one of the first times where I scratched my head and went, "HUH???" I think it was originally when we opend up the JSON file. It was ugly. In fact, Anil told us that it was one of the worst one's he had ever seen. Thanks, friend. Luckily, my group was amazing and we worked through the lab together. The most important take away from this lab?
Keep it DRY. Keep it simple. There is always an easier way to code something. Here is is, Voila! :)
#!/usr/bin/env ruby
require 'open-uri'
require 'json'
#original gist: https://gist.github.com/bridgpal/e032c851cebf6de1a968