Sha256: e276542b8908b1c8c3887f7b3225c4f713cb5009914069f69b42ec0ea3e52837

Contents?: true

Size: 418 Bytes

Versions: 48

Compression:

Stored size: 418 Bytes

Contents

require 'flydata-core/event/flydata_event_handler_registry'

module FlydataCore
  module Event
    class FlydataEventProcessor
      def self.process(event)
        handlers = FlydataEventHandlerRegistry.handlers(event.noun, event.verb)
        if handlers.nil? ||  handlers.empty?
          return
        end
        handlers.each do |handler|
          handler.handle(event)
        end
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
flydata-0.7.13 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.12 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.11 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.10 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.9 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.8 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.7 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.6 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.5 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.4 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.2.1 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.2 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.1 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.7.0 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.14 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.13 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.12 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.11 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.10 flydata-core/lib/flydata-core/event/flydata_event_processor.rb
flydata-0.6.9 flydata-core/lib/flydata-core/event/flydata_event_processor.rb