Class: Rasti::Web::ServerSentEvent
- Inherits:
-
String
- Object
- String
- Rasti::Web::ServerSentEvent
- Defined in:
- lib/rasti/web/server_sent_event.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/rasti/web/server_sent_event.rb', line 5 def data @data end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
5 6 7 |
# File 'lib/rasti/web/server_sent_event.rb', line 5 def event @event end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/rasti/web/server_sent_event.rb', line 5 def id @id end |