lib/reactor/models/subscriber.rb in reactor-0.0.1 vs lib/reactor/models/subscriber.rb in reactor-0.1.0
- old
+ new
@@ -5,10 +5,10 @@
def event=(event)
write_attribute :event, event.to_s
end
def fire(data)
- self.message = Reactor::Message.new(data)
+ self.message = Reactor::Event.new(data)
instance_exec &self.class.on_fire
self
end
def delay_amount
\ No newline at end of file