diff --git a/lib/delayed/backend/ironmq.rb b/lib/delayed/backend/ironmq.rb index eb0a450..1af1f6a 100644 --- a/lib/delayed/backend/ironmq.rb +++ b/lib/delayed/backend/ironmq.rb @@ -1,5 +1,4 @@ - module Delayed module Backend module Ironmq @@ -22,7 +21,7 @@ def initialize(data = {}) puts "[init] Delayed::Backend::Ironmq" @msg = nil if data.is_a?(IronMQ::Message) - @mgs = data + @msg = data data = JSON.load(data.body) end