require "population_growth/version" require "thor" require "httparty" module PopulationGrowth class CLI < Thor desc "getPopData [zip]", "Describe population data based on zip" def getPopData(zip) response = HTTParty.get("https://alvin-pop-growth-api.herokuapp.com/", :query => {:zip => zip}) puts response.body end end end