Sha256: 8660ca3df8eb7edffc273d58b39896eaaa7484d0dc882f8b9eb9fc1f0e38a2c6
Contents?: true
Size: 650 Bytes
Versions: 6
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true 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