Module: Locality::Postnummerservice

Defined in:
lib/locality/postnummerservice.rb,
lib/locality/postnummerservice/entry.rb,
lib/locality/postnummerservice/state.rb,
lib/locality/postnummerservice/aregion.rb,
lib/locality/postnummerservice/province.rb,
lib/locality/postnummerservice/zip_code.rb,
lib/locality/postnummerservice/collection.rb

Defined Under Namespace

Modules: Collection Classes: Aregion, Entry, Province, State, ZipCode

Class Method Summary collapse

Class Method Details

.aregionsObject



11
12
13
14
# File 'lib/locality/postnummerservice.rb', line 11

def self.aregions
  load
  @aregions
end

.provincesObject



21
22
23
24
# File 'lib/locality/postnummerservice.rb', line 21

def self.provinces
  load
  @provinces
end

.statesObject



16
17
18
19
# File 'lib/locality/postnummerservice.rb', line 16

def self.states
  load
  @states
end

.zip_codesObject



26
27
28
29
# File 'lib/locality/postnummerservice.rb', line 26

def self.zip_codes
  load
  @zip_codes
end