Module: Faker::SSN

Extended by:
ModuleUtils, SSN
Included in:
SSN
Defined in:
lib/ffakerer/ssn.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#ssnObject

The Social Security number is a nine-digit number in the format “AAA-GG-SSSS”. More info here:

en.wikipedia.org/wiki/Social_Security_number



13
14
15
# File 'lib/ffakerer/ssn.rb', line 13

def ssn
  Faker.numerify('###-##-####')
end