Skip to content
Gem for adding Pusher support into your application
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.md
Rakefile
VERSION
pusher.gemspec

README.md

Pusher gem

Getting started

After registering at http://pusherapp.com configure your app with the security credentials

Pusher.key = 'your-pusher-key'
Pusher.secret = 'your-pusher-secret'

Trigger an event

Pusher['arbitrary-channel-name'].trigger({:some => 'data'})

Logging

Errors are logged to Pusher.logger. It will by default use Logger from stdlib, however you can assign any logger:

Pusher.logger = Rails.logger

Copyright

Copyright (c) 2010 New Bamboo. See LICENSE for details.

Something went wrong with that request. Please try again.