Class: IndustryProduct

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

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



9
10
11
12
13
14
15
16
17
# File 'lib/earth/industry/industry_product.rb', line 9

def self.schema_definition
  lambda do
    string 'naics_product_code'
    string 'description'
    float  'value'
    string 'value_units'
    string 'naics_code'
  end
end