Class: ShipmentMode
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ShipmentMode
- Extended by:
- Earth::Model
- Defined in:
- lib/earth/shipping/shipment_mode.rb
Constant Summary collapse
- TABLE_STRUCTURE =
"\nCREATE TABLE shipment_modes\n (\n name CHARACTER VARYING(255) NOT NULL PRIMARY KEY,\n route_inefficiency_factor FLOAT,\n transport_emission_factor FLOAT,\n transport_emission_factor_units CHARACTER VARYING(255)\n );\n\n"