Pusher

Description
Elixir library to access the Pusher REST API.
Usage
Define your Pusher.Client
ciient = Pusher.Client%{app_id: "app_id", app_key: "app_key", secret: "my_secret"}
ciient = Pusher.Client%{endpoint: "https://my_custom_pusher:8080", app_id: "app_id", app_key: "app_key", secret: "my_secret"}
Pusher.trigger(client, "message", %{ text: "Hello!" }, "chat-channel")
To get occupied channels:
Pusher.channels(client)
To get users connected to a presence channel
Pusher.users(client, "presence-demo")