Packages

Strategy to send notifications through Pusher with Ravenx.

Current section

Files

Jump to
ravenx_pusher lib push.ex
Raw

lib/push.ex

defmodule RavenxPusher.Push do
@moduledoc """
RavenxPusher.Push represents a `Push` being sent through `Pusher`.
"""
defstruct data: nil,
event: nil,
channels: nil,
socket_id: nil,
sent?: false
@type t :: %__MODULE__{
data: any,
event: binary,
socket_id: binary,
channels: binary | list(binary),
sent?: atom
}
end