Skip to content
This repository

Ruby library for GNTP(Growl Notification Transport Protocol) client

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 gems
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 ruby_gntp.gemspec
README
Ruby library for GNTP(Growl Notification Transport Protocol)

Sorry, document is not available now.

Usage example:

require 'rubygems'
require 'ruby_gntp'

# -- Standard way
growl = GNTP.new("Ruby/GNTP self test")
growl.register({:notifications => [{
  :name     => "notify",
  :enabled  => true,
}]})

growl.notify({
  :name  => "notify",
  :title => "Congratulation",
  :text  => "Congratulation! You have successfully installed ruby_gntp.",
  :icon  => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
  :sticky=> true,
})

# -- Instant notification
GNTP.notify({
  :app_name => "Instant notify",
  :title    => "Instant notification",
  :text     => "Instant notification available now.",
  :icon     => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
})


Something went wrong with that request. Please try again.