def bulk_delete(docs, opts={})

      docs = docs.inject([]) { |a, doc|
        a << {
          '_id' => doc['_id'], '_rev' => doc['_rev'], '_deleted' => true
        } if doc
        a
      }

      bulk_put(docs, opts)
    end
def bulk_delete(docs, opts={})

      docs = docs.inject([]) { |a, doc|
        a << {
          '_id' => doc['_id'], '_rev' => doc['_rev'], '_deleted' => true
        } if doc
        a
      }

      bulk_put(docs, opts)
    end
Given an array of documents (at least { '_id' => x, '_rev' => y },
 deletes them.