Class: Addressing::PostalCodeType

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

Overview

Enumerates available postal code types.

Constant Summary collapse

EIR =
"eircode"
PIN =
"pin"
POSTAL =
"postal"
ZIP =
"zip"

Class Method Summary collapse

Class Method Details

.defaultObject

Gets the default value.



12
13
14
# File 'lib/addressing/postal_code_type.rb', line 12

def self.default
  POSTAL
end