Packages

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

Current section

Files

Jump to
uof_api lib uof api mappings betstop_reason_descriptions.ex
Raw

lib/uof/api/mappings/betstop_reason_descriptions.ex

defmodule UOF.API.Mappings.BetStopReasonDescriptions do
@moduledoc false
use Saxaboom.Mapper
alias UOF.API.Mappings.BetStopReason
@type t :: %__MODULE__{
reasons: list(BetStopReason.t())
}
document do
elements(:betstop_reason, as: :reasons, into: %BetStopReason{})
end
end