Sha256: bd840ffdddc7f6e805eb4744d73664d9fff1d1bc3696ee423a87d2db5fb77397
Contents?: true
Size: 676 Bytes
Versions: 6
Compression:
Stored size: 676 Bytes
Contents
# frozen_string_literal: true require 'ffaker/address' module FFaker module AddressGR include FFaker::Address extend ModuleUtils extend self STREET_PREFIX = [%w[Οδός Πάροδος]].freeze STREET_NUMBER = [%w[# ## ###]].freeze STATE = REGION def zip_code FFaker.numerify '#####' end def region fetch_sample(STATE) end def city fetch_sample(CITY) end def street_name fetch_sample(STREET) end def street_nbr FFaker.numerify(fetch_sample(STREET_NUMBER)) end def street_address "#{fetch_sample(STREET_PREFIX)} #{street_name}, #{street_nbr}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems