Class: SseCable::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/sse_cable/event.rb

Instance Method Summary collapse

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, options = {})
  # Initialize event with data and options
end