Module: FFaker::AddressSN

Extended by:
AddressSN, ModuleUtils
Includes:
Address
Included in:
AddressSN
Defined in:
lib/ffaker/address_sn.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, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

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

#arrondissementObject


18
19
20
# File 'lib/ffaker/address_sn.rb', line 18

def arrondissement
  fetch_sample(ARRONDISSEMENTS)
end

#departementObject


14
15
16
# File 'lib/ffaker/address_sn.rb', line 14

def departement
  fetch_sample(DEPARTEMENTS)
end

#regionObject


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

def region
  fetch_sample(REGIONS)
end