# encoding: utf-8 module Faker module Identification extend ModuleUtils extend self def drivers_license Faker.bothify('?###-###-##-###-#').upcase end def ssn Faker.numerify('###-##-####') end def ethnicity ETHNICITIES.sample end def gender GENDERS.sample end ETHNICITIES = k ['African American', 'Asian/Pacific Islander', 'Caucasian', 'Hispanic', 'Native American', 'Multiracial', 'Other', 'Prefer not to respond'] GENDERS = k %w(Male Female) end end