dotfiles/app/lib/prymn/agents/agent.ex

14 lines
263 B
Elixir
Raw Normal View History

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