Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewland committed Feb 27, 2010
1 parent cb275f0 commit 36c922b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/campfire.rb.example
Expand Up @@ -4,6 +4,11 @@ campfire = Tinder::Campfire.new 'yourdomain', :ssl => true
campfire.login 'APIKEY', 'X'
set :room, campfire.find_room_by_name('Log')

# Paste the full log to campfire after a deploy
on :exit do
room.paste full_log
end

# Log every single cap log line to Campfire. Insane.
on :log_message do
room.speak message
Expand Down

0 comments on commit 36c922b

Please sign in to comment.