lib/hipbot/adapters/hipchat/hipchat.rb in hipbot-0.1.0 vs lib/hipbot/adapters/hipchat/hipchat.rb in hipbot-0.2.0

- old
+ new

@@ -1,18 +1,9 @@ module Hipbot module Adapters module Hipchat def start! - ::EM::run do - ::EM.error_handler do |e| - puts e.inspect - e.backtrace.each do |line| - puts line - end - end - - Connection.new(self) - end + connection = Connection.new(self) end def method_missing(sym, *args, &block) connection.send sym, *args, &block end