Class: ActivePublisher::Message

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_publisher/message.rb

Instance Attribute Summary collapse

Instance Attribute Details

#exchange_nameObject

Returns the value of attribute exchange_name

Returns:

  • (Object)

    the current value of exchange_name



2
3
4
# File 'lib/active_publisher/message.rb', line 2

def exchange_name
  @exchange_name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



2
3
4
# File 'lib/active_publisher/message.rb', line 2

def options
  @options
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



2
3
4
# File 'lib/active_publisher/message.rb', line 2

def payload
  @payload
end

#routeObject

Returns the value of attribute route

Returns:

  • (Object)

    the current value of route



2
3
4
# File 'lib/active_publisher/message.rb', line 2

def route
  @route
end