class Eye::Notify::Hipchat

Constants

VERSION

Public Instance Methods

execute() click to toggle source
# File lib/eye/notify/hipchat.rb, line 20
def execute
  debug "send hipchat - #{[contact, message_body]}"
  room_name = contact

  client = HipChat::Client.new(api_token, :api_version => 'v2')
  client[room_name].send(name, message_body, notify: notify_room, color: color)
end