#!/usr/bin/env ruby
#
# I'm lazy and want to hold onto this code snippet but don't feel like putting it in subversion
#
require 'rubygems'
require 'rbus'
destination = "org.freedesktop.Notifications"
object_path = "/org/freedesktop/Notifications"
member = "Notify"
bus = RBus.session_bus
object = bus.get_object(destination, object_path)
object.Notify("string:R-Bus",
"uint32:0",
"string:info",
"string:R-Bus Notification",
"string:A test example to see that everything works.",
"array:string:",
"dict:string:variant:",
"int32:-1")