Class: SseCable::Event
- Inherits:
-
Object
- Object
- SseCable::Event
- Defined in:
- lib/sse_cable/event.rb
Instance Method Summary collapse
-
#initialize(data, options = {}) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(data, options = {}) ⇒ Event
Returns a new instance of Event.
5 6 7 |
# File 'lib/sse_cable/event.rb', line 5 def initialize(data, = {}) # Initialize event with data and options end |