Class: Ears::Testing::MessageCapture::Message

Inherits:
Struct
  • Object
show all
Defined in:
lib/ears/testing/message_capture.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def data
  @data
end

#exchange_nameObject

Returns the value of attribute exchange_name

Returns:

  • (Object)

    the current value of exchange_name



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def exchange_name
  @exchange_name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def options
  @options
end

#routing_keyObject

Returns the value of attribute routing_key

Returns:

  • (Object)

    the current value of routing_key



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def routing_key
  @routing_key
end

#thread_idObject

Returns the value of attribute thread_id

Returns:

  • (Object)

    the current value of thread_id



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def thread_id
  @thread_id
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



4
5
6
# File 'lib/ears/testing/message_capture.rb', line 4

def timestamp
  @timestamp
end