Module: FFaker::SSN

Extended by:
ModuleUtils, SSN
Included in:
SSN
Defined in:
lib/ffaker/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/ffaker/ssn.rb', line 13

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