defmodule Bump.Firebase do def test() do IO.puts "Hello, world!" end def push(%{"firebase_token" => token, "title" => title, "data" => data}) do IO.puts "Pushing #{title}" n = Pigeon.FCM.Notification.new( {:token, token}, %{"body" => title}, %{"data" => data}) Bump.FCM.push(n) end end