Permalink
Browse files

Update HipChat adapter to use new format: /^JANKY_CHAT_#{chat_name}_

  • Loading branch information...
1 parent 21ec2cd commit a0cd25279e82203e1e66bc67edb9f58d0c1d2eab @jsmestad jsmestad committed Jan 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/janky/chat/hipchat.rb
@@ -2,8 +2,8 @@ module Janky
module Chat
class HipChat
def initialize(settings)
- @client = ::HipChat::Client.new(settings["JANKY_HIPCHAT_TOKEN"])
- @from = settings["JANKY_HIPCHAT_FROM"] || "CI"
+ @client = ::HipChat::Client.new(settings["JANKY_CHAT_HIPCHAT_TOKEN"])
+ @from = settings["JANKY_CHAT_HIPCHAT_FROM"] || "CI"
end
def speak(message, room_id, options = {:color => "yellow"})

0 comments on commit a0cd252

Please sign in to comment.