class QueueingRabbit::Client::Bunny::Metadata

Public Class Methods

new(channel, delivery_info, properties) click to toggle source
# File lib/queueing_rabbit/client/bunny.rb, line 11
def initialize(channel, delivery_info, properties)
  @channel = channel
  @delivery_info = delivery_info
  @properties = properties
end

Public Instance Methods

ack() click to toggle source
# File lib/queueing_rabbit/client/bunny.rb, line 17
def ack
  @channel.ack(delivery_tag, false)
end
delivery_tag() click to toggle source
# File lib/queueing_rabbit/client/bunny.rb, line 21
def delivery_tag
  @delivery_info.delivery_tag
end
headers() click to toggle source
# File lib/queueing_rabbit/client/bunny.rb, line 25
def headers
  @properties.headers
end