lib/tamashii/agent/handler/system.rb in tamashii-agent-0.1.11 vs lib/tamashii/agent/handler/system.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 System < Base
def resolve(data)
- @master.send_event(EVENT_SYSTEM_COMMAND, type.to_s)
+ @master.send_event(Event.new(Event::SYSTEM_COMMAND, type.to_s))
end
end
end
end
end