module Faker::AddressCA
Constants
- POSTAL_CODE_FORMATS
- PROVINCE_ABBRS
Public Instance Methods
postal_code()
click to toggle source
# File lib/ffakerer/address_ca.rb, line 12 def postal_code Faker.bothify(POSTAL_CODE_FORMATS.rand).upcase end
province()
click to toggle source
# File lib/ffakerer/address_ca.rb, line 16 def province PROVINCE.rand end
province_abbr()
click to toggle source
# File lib/ffakerer/address_ca.rb, line 20 def province_abbr PROVINCE_ABBRS.rand end