Sha256: 821620ff1834397fd31f8e5803f76cdac8dbb396675cbece0dea42778558d32e
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
# frozen_string_literal: true module FFakerTW module Identification extend ModuleUtils extend self ETHNICITIES = [ 'African American', 'Asian/Pacific Islander', 'Caucasian', 'Hispanic', 'Native American', 'Multiracial', 'Other', 'Prefer not to respond' ].freeze GENDERS = %w[Male Female].freeze def drivers_license FFakerTW.bothify('?###-###-##-###-#').upcase end def ssn FFakerTW.numerify('###-##-####') end def ethnicity fetch_sample(ETHNICITIES) end def gender fetch_sample(GENDERS) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | lib/ffakerTW/identification.rb |