Module: TwiStream::EventHandler
- Included in:
- Client
- Defined in:
- lib/twistream/event_handler.rb
Instance Method Summary collapse
Instance Method Details
#event(name) ⇒ Object
4 5 6 |
# File 'lib/twistream/event_handler.rb', line 4 def event(name) register_event(name) end |
#events(*names) ⇒ Object
8 9 10 11 12 |
# File 'lib/twistream/event_handler.rb', line 8 def events(* names) names.each do |name| event(name) end end |