Packages

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

Current section

Files

Jump to
uof_api lib uof api mappings custom_bet available_selections.ex
Raw

lib/uof/api/mappings/custom_bet/available_selections.ex

defmodule UOF.API.Mappings.CustomBet.AvailableSelections do
use Saxaboom.Mapper
alias UOF.API.Mappings.CustomBet.Market
document do
attribute(:generated_at)
element(:event, as: :event_id, value: :id)
elements(:market, as: :markets, into: %Market{})
end
end