pushex v0.1.2 Pushex.GCM.Request

Pushex.GCM.Request represents a request that will be sent to GCM. It contains the notification, and all the metadata that can be sent with it.

Only the key with a value will be sent to GCM, so that the proper default are used.

Summary

Types

t()
t() :: %Pushex.GCM.Request{app: Pushex.GCM.App.t, collapse_key: String.t, content_available: boolean, data: map, delay_while_idle: boolean, notification: map, priority: String.t, registration_ids: [String.t], restricted_package_name: String.t, send_as_data: term, time_to_live: non_neg_integer, to: String.t}

Functions

create(params)
create!(params)
create!(notification, app, opts)
valid?(self)