Class: Locality::Postnummerservice::ZipCode
- Inherits:
-
Object
- Object
- Locality::Postnummerservice::ZipCode
show all
- Includes:
- Collection
- Defined in:
- lib/locality/postnummerservice/zip_code.rb
Instance Method Summary
collapse
Methods included from Collection
#aregion_codes, #city_names, #initialize, #province_codes, #province_names, #state_codes, #state_names, #zip_codes
Instance Method Details
#code ⇒ Object
6
7
8
|
# File 'lib/locality/postnummerservice/zip_code.rb', line 6
def code
raw_code.to_i
end
|