module Faker::AddressUK
Constants
- UK_COUNTRY
- UK_POSTCODE
Public Instance Methods
country()
click to toggle source
# File lib/ffakerer/address_uk.rb, line 16 def country UK_COUNTRY.rand end
county()
click to toggle source
# File lib/ffakerer/address_uk.rb, line 12 def county UK_COUNTY.rand end
postcode()
click to toggle source
# File lib/ffakerer/address_uk.rb, line 20 def postcode Faker.bothify(UK_POSTCODE.rand).upcase end