View Source Faker.Internet.Hy (Faker v0.18.0)

Functions for generating internet related data in Armenian

Summary

Functions

Returns a random domain suffix.

Returns a random free email service name.

Functions

@spec domain_suffix() :: String.t()

Returns a random domain suffix.

Examples

iex> Faker.Internet.Hy.domain_suffix()
"am"
iex> Faker.Internet.Hy.domain_suffix()
"com"
iex> Faker.Internet.Hy.domain_suffix()
"am"
iex> Faker.Internet.Hy.domain_suffix()
"org"
@spec free_email_service() :: String

Returns a random free email service name.

Examples

iex> Faker.Internet.Hy.free_email_service()
"hotmail.com"
iex> Faker.Internet.Hy.free_email_service()
"yandex.ru"
iex> Faker.Internet.Hy.free_email_service()
"freenet.am"
iex> Faker.Internet.Hy.free_email_service()
"yahoo.com"