13 lines
209 B
Elixir
13 lines
209 B
Elixir
|
defmodule Bump.Senders do
|
||
|
alias Bump.Database
|
||
|
|
||
|
def firebase(sender, firebase) do
|
||
|
Database.addSender(sender, %{"firebase" => firebase})
|
||
|
end
|
||
|
|
||
|
def peek(sender) do
|
||
|
Database.peek(sender)
|
||
|
end
|
||
|
|
||
|
end
|