campfire.rb

Path: lib/god/contacts/campfire.rb
Last Update: Sun Jun 13 11:45:39 +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

Required files

tinder  

[Validate]