Sha256: de0c8ddc624a53e00370e791490c0a4f255b4cf7866788262f80c21cc9531204

Contents?: true

Size: 404 Bytes

Versions: 9

Compression:

Stored size: 404 Bytes

Contents

class LodgingClass < ActiveRecord::Base
  set_primary_key :name
  
  col :name
  col :electricity_intensity, :type => :float
  col :electricity_intensity_units
  col :natural_gas_intensity, :type => :float
  col :natural_gas_intensity_units
  col :fuel_oil_intensity, :type => :float
  col :fuel_oil_intensity_units
  col :district_heat_intensity, :type => :float
  col :district_heat_intensity_units
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
earth-0.11.0 lib/earth/hospitality/lodging_class.rb
earth-0.7.0 lib/earth/hospitality/lodging_class.rb
earth-0.6.6 lib/earth/hospitality/lodging_class.rb
earth-0.6.5 lib/earth/hospitality/lodging_class.rb
earth-0.6.4 lib/earth/hospitality/lodging_class.rb
earth-0.6.3 lib/earth/hospitality/lodging_class.rb
earth-0.6.2 lib/earth/hospitality/lodging_class.rb
earth-0.6.1 lib/earth/hospitality/lodging_class.rb
earth-0.6.0 lib/earth/hospitality/lodging_class.rb