Sha256: 92e3ac21a8810969c0eef999e41eff90512de0b2abb49c43c8d24b0f0e95c0db

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

class EgridSubregion < ActiveRecord::Base
  set_primary_key :abbreviation
  
  has_many :zip_codes, :foreign_key => 'egrid_subregion_abbreviation'
  belongs_to :egrid_region, :foreign_key => 'egrid_region_name'
  
  falls_back_on :electricity_emission_factor => 1.404.pounds.to(:kilograms) # kg CO2 / kWh https://brighterplanet.sifterapp.com/projects/30/issues/437?return_uri=%2Fprojects%2F30%2Fissues%3Fa%3D79%26s%3D1-2
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sniff-0.0.3 lib/test_support/data_models/egrid_subregion.rb
sniff-0.0.2 lib/test_support/data_models/egrid_subregion.rb