EventSource HQ Rubygem
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
README.md
Rakefile
eshq.gemspec

README.md

The EventSource HQ Gem

Make sure you have an EventSource HQ account.

The eshq gem will use the following environment variables:

ESHQ_URL
ESHQ_KEY
ESHQ_SECRET

To create a new socket that the client-side javascript library can use to connect with:

ESHQ.open(:channel => "your-channel")

To send a message to a channel:

ESHQ.send(:channel => "your-channel", :data => "raw message data")