14 lines
263 B
Elixir
14 lines
263 B
Elixir
|
defmodule Prymn.Agents.Agent do
|
||
|
@moduledoc false
|
||
|
|
||
|
defstruct [:host_address]
|
||
|
|
||
|
@type t :: %__MODULE__{
|
||
|
host_address: String.t()
|
||
|
}
|
||
|
|
||
|
def new(host_address) when is_binary(host_address) do
|
||
|
%__MODULE__{host_address: host_address}
|
||
|
end
|
||
|
end
|