Class: Addressing::LocalityType

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

Overview

Enumerates available locality types.

Constant Summary collapse

CITY =
"city"
DISTRICT =
"district"
POST_TOWN =
"post_town"
SUBURB =
"suburb"
TOWN_CITY =
"town_city"

Class Method Summary collapse

Class Method Details

.defaultObject

Gets the default value.



13
14
15
# File 'lib/addressing/locality_type.rb', line 13

def self.default
  CITY
end