class PopulationGrowth::Location
Attributes
data[R]
Public Class Methods
new(data)
click to toggle source
# File lib/population_growth/location.rb, line 5 def initialize(data) @data = data end
Public Instance Methods
cbsa()
click to toggle source
# File lib/population_growth/location.rb, line 13 def cbsa data['cbsa'] end
msa()
click to toggle source
# File lib/population_growth/location.rb, line 17 def msa data['msa'] end
pop_2014()
click to toggle source
# File lib/population_growth/location.rb, line 25 def pop_2014 data['pop_2014'] end
pop_2015()
click to toggle source
# File lib/population_growth/location.rb, line 21 def pop_2015 data['pop_2015'] end
zip_code()
click to toggle source
# File lib/population_growth/location.rb, line 9 def zip_code data['zip_code'] end