Current section

Files

Jump to
podium_ex lib podium contact.ex
Raw

lib/podium/contact.ex

defmodule Podium.Contact do
@moduledoc """
Represents a contact in the Podium API.
"""
@type t :: %__MODULE__{
name: String.t(),
phone_number: String.t()
}
@derive Jason.Encoder
defstruct [
name: nil,
phone_number: nil
]
end