Sha256: 07255398e9139d0e3f815df6c8f43155e3f51917d21b9ded43f759cd18e3c912
Contents?: true
Size: 435 Bytes
Versions: 11
Compression:
Stored size: 435 Bytes
Contents
class AutomobileFuelType < ActiveRecord::Base set_primary_key :code scope :ordered, :order => 'name' falls_back_on :emission_factor => 20.781.pounds_per_gallon.to(:kilograms_per_litre) # https://brighterplanet.sifterapp.com/projects/30/issues/428 data_miner do tap "Brighter Planet's sanitized automobile fuel type data", Earth.taps_server end CODES = { :electricity => 'El', :diesel => 'D' } end
Version data entries
11 entries across 11 versions & 1 rubygems