Sha256: 27b77c64758b5674c0c11d4df841d714a2bc93a2c0f300e26c0d77125f97112e
Contents?: true
Size: 435 Bytes
Versions: 5
Compression:
Stored size: 435 Bytes
Contents
# encoding: utf-8 require 'ffaker/address' module Faker module AddressUS include Faker::Address extend ModuleUtils extend self def zip_code Faker.numerify ZIP_FORMATS.rand end def state STATE.rand end def state_abbr STATE_ABBR.rand end def state_and_territories_abbr STATE_AND_TERRITORIES_ABBR.rand end ZIP_FORMATS = k ['#####', '#####-####'] end end
Version data entries
5 entries across 5 versions & 1 rubygems