Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snaka/ruby_gntp
Ruby library for GNTP(Growl Notification Transport Protocol) client
https://github.com/snaka/ruby_gntp
Last synced: 11 days ago
JSON representation
Ruby library for GNTP(Growl Notification Transport Protocol) client
- Host: GitHub
- URL: https://github.com/snaka/ruby_gntp
- Owner: snaka
- License: mit
- Created: 2009-04-08T19:15:44.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2014-06-14T03:06:42.000Z (over 10 years ago)
- Last Synced: 2024-10-05T03:48:31.809Z (about 1 month ago)
- Language: Ruby
- Homepage: http://snaka.github.com/ruby_gntp/
- Size: 412 KB
- Stars: 100
- Watchers: 5
- Forks: 12
- Open Issues: 14
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
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",
})