Packages

An Elixir client for Betradar's Unified Odds Feed (UOF) API

Current section

Files

Jump to
uof_api lib uof api schemas custom_bet outcome.ex
Raw

lib/uof/api/schemas/custom_bet/outcome.ex

defmodule UOF.API.Schemas.CustomBet.Outcome do
@moduledoc false
use Ecto.Schema
import Ecto.Changeset
@primary_key false
embedded_schema do
field(:id, :string)
end
def changeset(struct, params) do
struct
|> cast(params, [:id])
end
end