module Faker::Identification
Constants
- ETHNICITIES
- GENDERS
Public Instance Methods
drivers_license()
click to toggle source
# File lib/ffakerer/identification.rb, line 8 def drivers_license Faker.bothify('?###-###-##-###-#').upcase end
ethnicity()
click to toggle source
# File lib/ffakerer/identification.rb, line 16 def ethnicity ETHNICITIES.rand end
gender()
click to toggle source
# File lib/ffakerer/identification.rb, line 20 def gender GENDERS.rand end
ssn()
click to toggle source
# File lib/ffakerer/identification.rb, line 12 def ssn Faker.numerify('###-##-####') end