Class: Sector

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

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



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

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