Skip to content

Commit

Permalink
Bug fix for batch get. Wasn't making the Message objects properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Jan 5, 2012
1 parent 7748725 commit 44a3f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iron_mq/messages.rb
Expand Up @@ -19,7 +19,7 @@ def get(options={})
res, status = @client.get(path(options), options)
ret = []
res["messages"].each do |m|
ret << Message.new(self, res)
ret << Message.new(self, m)
end
if options[:n]
return ret
Expand Down

0 comments on commit 44a3f29

Please sign in to comment.