Sha256: 6fff8006451258a486e1b4d15231ccc2412e001567019692ec053157e3becc65

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

module PopulationGrowth
  class Location
    attr_reader :data

    def initialize(data)
      @data = data
    end

    def zip_code
      data['zip_code']
    end

    def cbsa
      data['cbsa']
    end

    def msa
      data['msa']
    end

    def pop_2015
      data['pop_2015']
    end

    def pop_2014
      data['pop_2014']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
population_growth-0.1.2 lib/population_growth/location.rb
population_growth-0.1.1 lib/population_growth/location.rb
population_growth-0.1.0 lib/population_growth/location.rb