From 8c4e072edd9cd8d31301e20b709e486859ccc847 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Tue, 26 Aug 2008 02:00:23 +1200 Subject: [PATCH] Removing excess code and debug output --- twitterpathy.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/twitterpathy.rb b/twitterpathy.rb index fc1c83a..7cdc83f 100755 --- a/twitterpathy.rb +++ b/twitterpathy.rb @@ -11,14 +11,6 @@ CONN_MGR_PARAM_FLAG_HAS_DEFAULT = 4 CONN_MGR_PARAM_FLAG_SECRET = 8 class Twitterpathy < DBus::Object - # Create an interface. - dbus_interface "org.ruby.SampleInterface" do - # Create a hello method in that interface. - dbus_method :hello, "in name:s, in name2:s" do |name, name2| - puts "hello(#{name}, #{name2})" - end - end - dbus_interface "org.freedesktop.Telepathy.ConnectionManager" do dbus_method :GetParameters, "in proto:s, out parameters:a(susv)" do |proto| puts "GetParameters(#{proto.inspect})" @@ -48,7 +40,6 @@ class Twitterpathy < DBus::Object connection = TwitterConnection.new(object, parameters['account'], parameters['password']) connection_service.export(connection) - puts "#{service}, #{object}" [service, object] end end -- 2.11.4.GIT