Skip to content
Browse files

Debug output

  • Loading branch information...
1 parent ba5fff8 commit 2da56cba8e5937c5c756367e6716085bc06ad580 @jsmestad jsmestad committed Jan 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/janky/chat/hipchat.rb
View
2 lib/janky/chat/hipchat.rb
@@ -2,6 +2,7 @@ module Janky
module Chat
class HipChat
def initialize(settings)
+ puts "Chat Settings: #{settings}"
@client = ::HipChat::Client.new(settings["JANKY_CHAT_HIPCHAT_TOKEN"])
@from = settings["JANKY_CHAT_HIPCHAT_FROM"] || "CI"
end
@@ -11,6 +12,7 @@ def speak(message, room_id, options = {:color => "yellow"})
end
def rooms
+ puts "Rooms: #{@client.rooms}" rescue nil
@rooms ||= @client.rooms.map do |room|
Room.new(room.room_id, room.name)
end

0 comments on commit 2da56cb

Please sign in to comment.
Something went wrong with that request. Please try again.