module FFaker::AddressUK

Constants

COUNTRY
POSTCODE

Public Instance Methods

country() click to toggle source
# File lib/ffaker/address_uk.rb, line 17
def country
  fetch_sample(COUNTRY)
end
county() click to toggle source
# File lib/ffaker/address_uk.rb, line 13
def county
  fetch_sample(COUNTY)
end
postcode() click to toggle source
# File lib/ffaker/address_uk.rb, line 21
def postcode
  FFaker.bothify(fetch_sample(POSTCODE)).upcase
end