Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 835 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 835 Bytes

PubNux

Build Status

A wrapper for PubNub's API.

NOTE: This is a work in progress and so far only supports message publication. PR are always welcome

Installation

If available in Hex, the package can be installed by adding pubnux to your list of dependencies in mix.exs:

def deps do
  [{:pubnux, git: "https://github.com/MrCoffey/pubnux", branch: master, app: false}]
end

Configuration

config :pubnux,
  publish_key: "your_publication_key",
  subscription_key: "your_susbscription_key",
  is_ssl: false

Usage

PubNux.subscribe("channel-name")

Contributing

You can run the tests with the following command:

mix test