Class: EnrichmentDb::Geo::Suburb
- Inherits:
-
Region
- Object
- DatumModel
- Region
- EnrichmentDb::Geo::Suburb
- Defined in:
- lib/enrichment_db/geo/suburb.rb
Constant Summary
Constants inherited from Region
Instance Attribute Summary
Attributes inherited from Region
Attributes inherited from DatumModel
Class Method Summary collapse
Methods inherited from Region
by_boundary, by_id, #initialize
Methods inherited from DatumModel
all, by_id, by_lambda, format_result, #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from EnrichmentDb::Geo::Region
Class Method Details
.fields ⇒ Object
2 3 4 |
# File 'lib/enrichment_db/geo/suburb.rb', line 2 def self.fields 'id, name, postcode_id, sa3_id, sa4_id, state_id' end |
.parent_class ⇒ Object
10 11 12 |
# File 'lib/enrichment_db/geo/suburb.rb', line 10 def self.parent_class EnrichmentDb::Geo::Postcode end |
.scale ⇒ Object
6 7 8 |
# File 'lib/enrichment_db/geo/suburb.rb', line 6 def self.scale 12 end |