module FFaker::Identification

Constants

ETHNICITIES
GENDERS

Public Instance Methods

drivers_license() click to toggle source
# File lib/ffaker/identification.rb, line 14
def drivers_license
  FFaker.bothify('?###-###-##-###-#').upcase
end
ethnicity() click to toggle source
# File lib/ffaker/identification.rb, line 22
def ethnicity
  fetch_sample(ETHNICITIES)
end
gender() click to toggle source
# File lib/ffaker/identification.rb, line 26
def gender
  fetch_sample(GENDERS)
end
ssn() click to toggle source
# File lib/ffaker/identification.rb, line 18
def ssn
  FFaker.numerify('###-##-####')
end