Path: | lib/god/contacts/campfire.rb |
Last Update: | Sun Dec 05 22:34:37 +0000 2010 |
notify campfire using tinder tinder.rubyforge.org
Example: set up a new campfire notifier Credentials God::Contacts::Campfire.server_settings = { :subdomain => "yoursubdomain", :user_name => "youruser", :room => "yourroom", :password => "yourpassword" } Register a new notifier God.contact(:campfire) do |c| c.name = 'campfire' end Define a transition for the process running event w.transition(:up, :start) do |on| on.condition(:process_running) do |c| c.running = true c.notify = 'campfire' end end