Sha256: 7b5cb591acd8a4b43c0611bf4cfb85d5d29873fde15902ba22ac65af123ce893

Contents?: true

Size: 328 Bytes

Versions: 14

Compression:

Stored size: 328 Bytes

Contents

# encoding: utf-8

module Faker
  module SSN
    extend ModuleUtils
    extend self

    # The Social Security number is a nine-digit number in the format
    # "AAA-GG-SSSS". More info here:
    #
    # http://en.wikipedia.org/wiki/Social_Security_number
    #
    def ssn
      Faker.numerify('###-##-####')
    end
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/ssn.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/ssn.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/ssn.rb
ffaker-1.32.1 lib/ffaker/ssn.rb
ffaker-1.32.0 lib/ffaker/ssn.rb
ffaker-1.31.0 lib/ffaker/ssn.rb
ffaker-1.30.0 lib/ffaker/ssn.rb
ffaker-1.25.0 lib/ffaker/ssn.rb
ffaker-1.24.0 lib/ffaker/ssn.rb
ffakerer-1.0.2 lib/ffakerer/ssn.rb
ffaker-1.23.0 lib/ffaker/ssn.rb
ffakerer-1.0.1 lib/ffakerer/ssn.rb
ffaker-1.22.1 lib/ffaker/ssn.rb
ffaker-1.22.0 lib/ffaker/ssn.rb