Module: Safit::Gntp

Defined in:
lib/safit/gntp.rb

Class Method Summary collapse

Class Method Details

.notify(message) ⇒ Object



24
25
26
27
28
29
30
# File 'lib/safit/gntp.rb', line 24

def notify(message)
  ::GNTP.notify \
    :app_name => "Stick a fork in it",
    :host     => Settings['gntp.host'],
    :passwd   => Settings['gntp.passwd'],
    :text     => message
end