# File lib/god/contacts/twitter.rb, line 38 def notify(message, time, priority, category, host) oauth = ::Twitter::OAuth.new(arg(:consumer_token), arg(:consumer_secret)) oauth.authorize_from_access(arg(:access_token), arg(:access_secret)) ::Twitter::Base.new(oauth).update(message) self.info = "sent twitter update" rescue => e applog(nil, :info, "failed to send twitter update: #{e.message}") applog(nil, :debug, e.backtrace.join("\n")) end