Report abuse

1
2
3
4
5
['item1', 'item2', 'item2'].each do |work|
  Nanite.request(/email/process, work, :selector => :rr) do |res|
    # check res here and update your db thast the job passed/failed
  end
end