Class: Addressing::AdministrativeAreaType

Inherits:
Enum
  • Object
show all
Defined in:
lib/addressing/administrative_area_type.rb

Overview

Enumerates available administrative area types.

Constant Summary collapse

AREA =
"area"
CANTON =
"canton"
COUNTY =
"county"
DEPARTMENT =
"department"
DISTRICT =
"district"
DO_SI =
"do_si"
EMIRATE =
"emirate"
ISLAND =
"island"
PARISH =
"parish"
PREFECTURE =
"prefecture"
PROVINCE =
"province"
REGION =
"region"
STATE =
"state"

Class Method Summary collapse

Class Method Details

.defaultObject

Gets the default value.



21
22
23
# File 'lib/addressing/administrative_area_type.rb', line 21

def self.default
  PROVINCE
end