Skip to content

Instantly share code, notes, and snippets.

@adamburmister
Created February 4, 2011 08:38
Show Gist options
  • Save adamburmister/810881 to your computer and use it in GitHub Desktop.
Save adamburmister/810881 to your computer and use it in GitHub Desktop.
Quickstart guide to connecting to a BackChat.io stream
require "rubygems"
require "backchat"
BackChat.connect("fred.dagg", "3b43ebca5e9703bbbeb5d0f87c87c962")
BackChat.stream("an-example-stream-name") do |msg|
puts "#{msg.sender.name} just posted a message"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment