lib/earth/shipping/shipment_mode.rb in earth-0.5.0 vs lib/earth/shipping/shipment_mode.rb in earth-0.5.2

- old
+ new

@@ -1,9 +1,12 @@ class ShipmentMode < ActiveRecord::Base set_primary_key :name has_many :carrier_modes, :foreign_key => 'mode_name', :primary_key => 'name' - data_miner do - tap "Brighter Planet's shipment mode data", Earth.taps_server + create_table do + string 'name' + float 'route_inefficiency_factor' + float 'transport_emission_factor' + string 'transport_emission_factor_units' end end