Class: Buble::Streaming::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/buble/streaming.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



7
8
9
# File 'lib/buble/streaming.rb', line 7

def data
  @data
end

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



7
8
9
# File 'lib/buble/streaming.rb', line 7

def event
  @event
end

#jsonObject

Returns the value of attribute json

Returns:

  • (Object)

    the current value of json



7
8
9
# File 'lib/buble/streaming.rb', line 7

def json
  @json
end