class Faker::DrivingLicence
def uk_driving_licence(*args)
-
(String)-
Overloads:
-
uk_driving_licence() -
uk_driving_licence(last_name, initials, gender, date_of_birth)
Parameters:
-
date_of_birth(String) -- The date of birth of the driving licence's owner. -
gender(String) -- The gender of the driving licence's owner. -
initials(String) -- The initials of the driving licence's owner. -
last_name(String) -- The last name of the driving licence's owner.
def uk_driving_licence(*args) if Faker::Config.random.rand < NI_CHANCE northern_irish_driving_licence else british_driving_licence(*args) end end