Class: EzPaaS::HTTP::SSE::EventSource::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/ezpaas/http/sse/event_source.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



9
10
11
# File 'lib/ezpaas/http/sse/event_source.rb', line 9

def data
  @data
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



9
10
11
# File 'lib/ezpaas/http/sse/event_source.rb', line 9

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/ezpaas/http/sse/event_source.rb', line 9

def name
  @name
end