Class: Lagomorph::MetadataAdapter

Inherits:
Struct
  • Object
show all
Defined in:
lib/lagomorph/metadata_adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#delivery_infoObject

Returns the value of attribute delivery_info

Returns:

  • (Object)

    the current value of delivery_info



2
3
4
# File 'lib/lagomorph/metadata_adapter.rb', line 2

def delivery_info
  @delivery_info
end

#propertiesObject

Returns the value of attribute properties

Returns:

  • (Object)

    the current value of properties



2
3
4
# File 'lib/lagomorph/metadata_adapter.rb', line 2

def properties
  @properties
end

Instance Method Details

#correlation_idObject



12
13
14
# File 'lib/lagomorph/metadata_adapter.rb', line 12

def correlation_id
  properties.correlation_id
end

#delivery_tagObject



4
5
6
# File 'lib/lagomorph/metadata_adapter.rb', line 4

def delivery_tag
  delivery_info.delivery_tag
end

#reply_toObject



8
9
10
# File 'lib/lagomorph/metadata_adapter.rb', line 8

def reply_to
  properties.reply_to
end