Class: ProductLine

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

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



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

def self.schema_definition
  lambda do
    string 'ps_code'
    string 'description'
    string 'broadline' # FIXME TODO do we need this?
    string 'parent'    # FIXME TODO do we need this?
  end
end