Sha256: 4aa6d8702da631d36c11a50efe5467c41124485fbbe0890b2f72144754e21874
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
module Qsagi class Message attr_reader :payload def initialize(message, payload) @message = message @payload = payload end def delivery_tag _delivery_details[:delivery_tag] end def exchange _delivery_details[:exchange] end def _delivery_details @delivery_details ||= @message.fetch(:delivery_details, {}) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qsagi-0.0.3 | lib/qsagi/message.rb |
qsagi-0.0.2 | lib/qsagi/message.rb |