Class: WithEvents::Trigger
- Inherits:
-
Object
- Object
- WithEvents::Trigger
- Includes:
- Validator
- Defined in:
- lib/with_events/trigger.rb
Constant Summary
Constants included from Validator
Validator::DAILY_APPEARANCE, Validator::HOURLY_APPEARANCE
Instance Method Summary collapse
Methods included from Validator
Instance Method Details
#call(appearance) ⇒ Object
7 8 9 10 11 |
# File 'lib/with_events/trigger.rb', line 7 def call(appearance) Stream.streams.each do |stream| process_stream(stream, appearance.to_sym) end end |