lib/earth/bus/bus_fuel_control.rb in earth-0.5.0 vs lib/earth/bus/bus_fuel_control.rb in earth-0.5.2
- old
+ new
@@ -1,7 +1,12 @@
class BusFuelControl < ActiveRecord::Base
set_primary_key :name
-
- data_miner do
- tap "Brighter Planet's sanitized bus fuel data", Earth.taps_server
+ create_table do
+ string 'name'
+ string 'bus_fuel_name'
+ string 'control'
+ float 'ch4_emission_factor'
+ string 'ch4_emission_factor_units'
+ float 'n2o_emission_factor'
+ string 'n2o_emission_factor_units'
end
end