Module: Faker::AddressSN

Extended by:
AddressSN, ModuleUtils
Includes:
Address
Included in:
AddressSN
Defined in:
lib/ffaker/address_sn.rb

Overview

Author PapePathe<pathe.sene@gmail.com> github.com/PapePathe

Constant Summary

Constant Summary

Constants included from Address

Faker::Address::CITY_PREFIXES, Faker::Address::COMPASS_DIRECTIONS, Faker::Address::SEC_ADDR

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Methods included from Address

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

Instance Method Details

#arrondissementObject



21
22
23
# File 'lib/ffaker/address_sn.rb', line 21

def arrondissement
  ARRONDISSEMENTS.rand
end

#departementObject



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

def departement
  DEPARTEMENTS.rand
end

#regionObject



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

def region
  REGIONS.rand
end