Module: FFaker::AddressCHDE

Extended by:
AddressCHDE, ModuleUtils
Includes:
AddressCH
Included in:
AddressCHDE
Defined in:
lib/ffaker/address_ch_de.rb

Constant Summary

Constants included from Address

FFaker::Address::CITY_PREFIXES, FFaker::Address::COMPASS_DIRECTIONS, FFaker::Address::SEC_ADDR

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Methods included from AddressCH

#canton_abbr, #postal_code

Methods included from Address

#building_number, #city, #city_prefix, #city_suffix, #country, #country_code, #neighborhood, #secondary_address, #street_address, #street_name, #street_suffix, #time_zone, #uk_country, #uk_county, #uk_postcode, #us_state, #us_state_abbr, #zip_code

Instance Method Details

#cantonObject



10
11
12
# File 'lib/ffaker/address_ch_de.rb', line 10

def canton
  fetch_sample(CANTON)
end