lib/tamashii/agent/handler/buzzer.rb in tamashii-agent-0.1.11 vs lib/tamashii/agent/handler/buzzer.rb in tamashii-agent-0.2.0

- old
+ new

@@ -1,13 +1,13 @@ -require 'tamashii/agent/common' +require 'tamashii/agent/event' require 'tamashii/agent/handler/base' module Tamashii module Agent module Handler class Buzzer < Base def resolve(data) - @master.send_event(EVENT_BEEP, data) + @master.send_event(Event.new(Event::BEEP, data)) end end end end end