Module: FFaker::SSNMX

Extended by:
ModuleUtils, SSNMX
Included in:
SSNMX
Defined in:
lib/ffaker/ssn_mx.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#imssObject

es.wikipedia.org/wiki/Instituto_Mexicano_del_Seguro_Social The Social Security number from IMSS (Instituto Mexicano del Seguro Social) is a eleven-digit number in the format “AABBCCDDEE-F”.


25
26
27
# File 'lib/ffaker/ssn_mx.rb', line 25

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

#imss_undashedObject

es.wikipedia.org/wiki/Instituto_Mexicano_del_Seguro_Social The Social Security number from IMSS (Instituto Mexicano del Seguro Social) is a eleven-digit number in the format “AABBCCDDEEF”.


34
35
36
# File 'lib/ffaker/ssn_mx.rb', line 34

def imss_undashed
  FFaker.numerify('###########')
end

#isssteObject

es.wikipedia.org/wiki/Instituto_de_Seguridad_y_Servicios_Sociales_de_los_Trabajadores_del_Estado The Social Security number from ISSSTE (Instituto de Seguridad y Servicios Sociales de los Trabajadores del Estado) is a eleven-digit number in the format “AABBCCDDEE-F”.


43
44
45
# File 'lib/ffaker/ssn_mx.rb', line 43

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

#issste_undashedObject

es.wikipedia.org/wiki/Instituto_de_Seguridad_y_Servicios_Sociales_de_los_Trabajadores_del_Estado The Social Security number from ISSSTE (Instituto de Seguridad y Servicios Sociales de los Trabajadores del Estado) is a eleven-digit number in the format “AABBCCDDEEF”.


52
53
54
# File 'lib/ffaker/ssn_mx.rb', line 52

def issste_undashed
  FFaker.numerify('###########')
end

#ssnObject

The Social Security number is a eleven-digit number in the format “AABBCCDDEE-F”.


10
11
12
# File 'lib/ffaker/ssn_mx.rb', line 10

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

#ssn_undashedObject

The Social Security number is a eleven-digit number in the format “AABBCCDDEEF”.


16
17
18
# File 'lib/ffaker/ssn_mx.rb', line 16

def ssn_undashed
  FFaker.numerify('###########')
end