mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-19 07:56:40 +00:00
Add tests for BunnyRun::Message class
This commit is contained in:
@@ -17,6 +17,11 @@ module BunnyRun
|
||||
delivery_info.channel
|
||||
end
|
||||
|
||||
def acked?
|
||||
return unless manual_ack?
|
||||
@acked
|
||||
end
|
||||
|
||||
def ack
|
||||
channel.ack(delivery_tag)
|
||||
@acked = true
|
||||
|
||||
Reference in New Issue
Block a user