Class: IndustrySector

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
Earth::Base
Defined in:
lib/earth/industry/industry_sector.rb

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



8
9
10
11
12
13
14
15
# File 'lib/earth/industry/industry_sector.rb', line 8

def self.schema_definition
  lambda do
    string 'row_hash'
    string 'naics_code'
    float  'ratio'
    string 'io_code'
  end
end