Class: Pigeon::Publisher::OutboxMessage

Inherits:
Struct
  • Object
show all
Defined in:
lib/pigeon/publisher.rb

Overview

Mock outbox message class for development

Instance Attribute Summary collapse

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def created_at
  @created_at
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def headers
  @headers
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def id
  @id
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def key
  @key
end

#message_partitionObject

Returns the value of attribute message_partition

Returns:

  • (Object)

    the current value of message_partition



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def message_partition
  @message_partition
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def payload
  @payload
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def status
  @status
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



10
11
12
# File 'lib/pigeon/publisher.rb', line 10

def topic
  @topic
end