Class: PopulationGrowth::CLI
- Inherits:
-
Thor
- Object
- Thor
- PopulationGrowth::CLI
- Defined in:
- lib/population_growth.rb
Instance Method Summary collapse
Instance Method Details
#getPopData(zip) ⇒ Object
8 9 10 11 |
# File 'lib/population_growth.rb', line 8 def getPopData(zip) response = HTTParty.get("https://alvin-pop-growth-api.herokuapp.com/", :query => {:zip => zip}) puts response.body end |