module FFaker::AddressCA
Constants
- POSTAL_CODE_CHARS
- POSTAL_CODE_FORMAT
- PROVINCE_ABBRS
Public Instance Methods
city()
click to toggle source
# File lib/ffaker/address_ca.rb, line 24 def city fetch_sample(CITY) end
postal_code()
click to toggle source
# File lib/ffaker/address_ca.rb, line 16 def postal_code FFaker.numerify(POSTAL_CODE_FORMAT.gsub('?') { fetch_sample(POSTAL_CODE_CHARS) }) end
province()
click to toggle source
# File lib/ffaker/address_ca.rb, line 20 def province fetch_sample(PROVINCE) end
province_abbr()
click to toggle source
# File lib/ffaker/address_ca.rb, line 28 def province_abbr fetch_sample(PROVINCE_ABBRS) end