Class: Cadenya::ServerSentEvent
- Inherits:
-
Struct
- Object
- Struct
- Cadenya::ServerSentEvent
- Defined in:
- lib/cadenya/sse.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#event ⇒ Object
Returns the value of attribute event.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
10 11 12 |
# File 'lib/cadenya/sse.rb', line 10 def data @data end |
#event ⇒ Object
Returns the value of attribute event
10 11 12 |
# File 'lib/cadenya/sse.rb', line 10 def event @event end |
#id ⇒ Object
Returns the value of attribute id
10 11 12 |
# File 'lib/cadenya/sse.rb', line 10 def id @id end |