lib/basquiat/adapters/rabbitmq/requeue_strategies/basic_acknowledge.rb in basquiat-1.2.0 vs lib/basquiat/adapters/rabbitmq/requeue_strategies/basic_acknowledge.rb in basquiat-1.3.0.pre.1
- old
+ new
@@ -2,10 +2,10 @@
module Adapters
class RabbitMq
class BasicAcknowledge < BaseStrategy
def run(message)
yield
- send(message.action, message.di.delivery_tag)
+ public_send(message.action, message)
end
end
end
end
end