module FFaker::IdentificationIT
Constants
- ETHNICITIES
- GENDERS
Public Instance Methods
drivers_license()
click to toggle source
# File lib/ffaker/identification_it.rb, line 14 def drivers_license FFaker::String.from_regexp(/U1[1-9]\d{7}[A-Z]/) end
ethnicity()
click to toggle source
# File lib/ffaker/identification_it.rb, line 22 def ethnicity fetch_sample(ETHNICITIES) end
gender()
click to toggle source
# File lib/ffaker/identification_it.rb, line 26 def gender fetch_sample(GENDERS) end
ssn()
click to toggle source
# File lib/ffaker/identification_it.rb, line 18 def ssn FFaker.numerify('####################') end