Class: ClimateDivision

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
Earth::Model
Defined in:
lib/earth/locality/climate_division.rb

Constant Summary collapse

TABLE_STRUCTURE =
<<-EOS

CREATE TABLE climate_divisions
  (
     name                      CHARACTER VARYING(255) NOT NULL PRIMARY KEY,
     heating_degree_days       FLOAT,
     heating_degree_days_units CHARACTER VARYING(255),
     cooling_degree_days       FLOAT,
     cooling_degree_days_units CHARACTER VARYING(255),
     state_postal_abbreviation CHARACTER VARYING(255)
  );

EOS
RADIUS =
750

Method Summary

Methods included from Earth::Model

extend_mining, extended, registry