Faker v0.12.0 Faker.Address.Hy View Source
Functions for generating addresses in Armenian
Link to this section Summary
Functions
Returns a random building number.
Returns city name.
Returns city prefix.
Returns country.
Returns a random secondary address.
Returns state.
Returns state abbr.
Returns street address.
Returns street_address/0
or if argument is true
adds secondary_address/0
.
Returns street name.
Returns street suffix.
Returns a random postcode.
Link to this section Functions
Link to this function
building_number()
View Source
building_number()
View Source
building_number() :: String.t()
building_number() :: String.t()
Returns a random building number.
Examples
iex> Faker.Address.Hy.building_number()
"1"
iex> Faker.Address.Hy.building_number()
"4"
iex> Faker.Address.Hy.building_number()
"64"
iex> Faker.Address.Hy.building_number()
"108"
Link to this function
city()
View Source
city()
View Source
city() :: String.t()
city() :: String.t()
Returns city name.
Examples
iex> Faker.Address.Hy.city()
"Ստեփանավան"
iex> Faker.Address.Hy.city()
"Մարալիկ"
iex> Faker.Address.Hy.city()
"Ճամբարակ"
iex> Faker.Address.Hy.city()
"Մեղրի"
Link to this function
city_prefix()
View Source
city_prefix()
View Source
city_prefix() :: String.t()
city_prefix() :: String.t()
Returns city prefix.
Examples
iex> Faker.Address.Hy.city_prefix()
"ք."
Link to this function
country()
View Source
country()
View Source
country() :: String.t()
country() :: String.t()
Returns country.
Examples
iex> Faker.Address.Hy.country()
"Ֆրանսիա"
iex> Faker.Address.Hy.country()
"Նիդերլանդներ"
iex> Faker.Address.Hy.country()
"Ղազախստան"
iex> Faker.Address.Hy.country()
"Թուրքմենստան"
Link to this function
secondary_address()
View Source
secondary_address()
View Source
secondary_address() :: String.t()
secondary_address() :: String.t()
Returns a random secondary address.
Examples
iex> Faker.Address.Hy.secondary_address()
"բն. 1"
iex> Faker.Address.Hy.secondary_address()
"բն. 4"
iex> Faker.Address.Hy.secondary_address()
"բն. 64"
iex> Faker.Address.Hy.secondary_address()
"բն. 110"
Link to this function
state()
View Source
state()
View Source
state() :: String.t()
state() :: String.t()
Returns state.
Examples
iex> Faker.Address.Hy.state()
"Արագածոտն"
iex> Faker.Address.Hy.state()
"Արարատ"
iex> Faker.Address.Hy.state()
"Կոտայք"
iex> Faker.Address.Hy.state()
"Լոռի"
Link to this function
state_abbr()
View Source
state_abbr()
View Source
state_abbr() :: String.t()
state_abbr() :: String.t()
Returns state abbr.
Examples
iex> Faker.Address.Hy.state_abbr()
"ԱԳ"
iex> Faker.Address.Hy.state_abbr()
"ԱՐ"
iex> Faker.Address.Hy.state_abbr()
"ԿՏ"
iex> Faker.Address.Hy.state_abbr()
"ԼՌ"
Link to this function
street_address()
View Source
street_address()
View Source
street_address() :: String.t()
street_address() :: String.t()
Returns street address.
Examples
iex> Faker.Address.Hy.street_address()
"Սուրբ Հովհաննեսի 542"
iex> Faker.Address.Hy.street_address()
"Բուռնազյան 61"
iex> Faker.Address.Hy.street_address()
"Լամբրոնի 329"
iex> Faker.Address.Hy.street_address()
"Հանրապետության 5"
Link to this function
street_address(arg1) View Source
Returns street_address/0
or if argument is true
adds secondary_address/0
.
Examples
iex> Faker.Address.Hy.street_address(true)
"Սուրբ Հովհաննեսի 542 բն. 4"
iex> Faker.Address.Hy.street_address(false)
"Գյուլբենկյան 0"
iex> Faker.Address.Hy.street_address(true)
"Պուշկինի 29 բն. 0"
iex> Faker.Address.Hy.street_address(false)
"Տիգրան Մեծի 35"
Link to this function
street_name()
View Source
street_name()
View Source
street_name() :: String.t()
street_name() :: String.t()
Returns street name.
Examples
iex> Faker.Address.Hy.street_name()
"Սուրբ Հովհաննեսի"
iex> Faker.Address.Hy.street_name()
"Մոսկովյան"
iex> Faker.Address.Hy.street_name()
"Սերգեյ Փարաջանովի"
iex> Faker.Address.Hy.street_name()
"Պրահայի"
Link to this function
street_suffix()
View Source
street_suffix()
View Source
street_suffix() :: String.t()
street_suffix() :: String.t()
Returns street suffix.
Examples
iex> Faker.Address.Hy.street_suffix()
"նրբանցք"
iex> Faker.Address.Hy.street_suffix()
"պողոտա"
iex> Faker.Address.Hy.street_suffix()
"փակուղի"
iex> Faker.Address.Hy.street_suffix()
"փողոց"
Link to this function
zip_code()
View Source
zip_code()
View Source
zip_code() :: String.t()
zip_code() :: String.t()
Returns a random postcode.
Examples
iex> Faker.Address.Hy.zip_code()
"0154"
iex> Faker.Address.Hy.zip_code()
"2646"
iex> Faker.Address.Hy.zip_code()
"1083"
iex> Faker.Address.Hy.zip_code()
"2970"