pushex v0.1.2 Pushex.GCM.Client behaviour

Module defining the behaviour to send requests to GCM.

The behaviour can be changed by setting the :client_impl module under the configuration pushex: :gcm key

Summary

Functions

send_notification(notification)

Callbacks

send_notification(notification)
send_notification(notification :: Pushex.GCM.Request.t) ::
  {:ok, Pushex.GCM.Response.t} |
  {:error, Pushex.GCM.HTTPError}