Class: Region
- Inherits:
-
Object
- Object
- Region
- Includes:
- Geopolitocracy, Mongoid::Document
- Defined in:
- app/models/region.rb
Overview
Region/Province/Estado
Instance Method Summary collapse
-
#phone ⇒ Object
National dialing code / or International.
- #postal ⇒ Object
Methods included from Geopolitocracy
Instance Method Details
#phone ⇒ Object
National dialing code / or International
24 25 26 |
# File 'app/models/region.rb', line 24 def phone self[:phone] || nation.phone end |
#postal ⇒ Object
28 29 30 |
# File 'app/models/region.rb', line 28 def postal self[:postal] || nation.postal end |