Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 234 Bytes
# Run the code and inspect results yourself:
require IEx
case TransactApp.Bank.Batches.transfer_money(1, 2, 10000) |> TransactApp.Repo.transaction() do
{:ok, results} -> IEx.pry()
{:error, step, reason, results} -> IEx.pry()
end
You can’t perform that action at this time.