Skip to content

Instantly share code, notes, and snippets.

@bbelchak
Created June 10, 2010 22:50
Show Gist options
  • Save bbelchak/433751 to your computer and use it in GitHub Desktop.
Save bbelchak/433751 to your computer and use it in GitHub Desktop.
if Gem.available?('tinder')
require 'tinder'
campfire = Tinder::Campfire.new '<SUBDOMAIN>', :token => '<TOKEN>'
room = campfire.find_room_by_name '<ROOMNAME>'
end
# Put this wherever you want chef to speak:
if Gem.available?('tinder')
room.speak('<HELLOWORLD>')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment