class Moped::Protocol::Delete

The Protocol class for deleting documents from a collection.

@example Delete all people named John

delete = Delete.new "moped", "people", { name: "John" }

@example Delete the first person named John

delete = Delete.new "moped", "people", { name: "John" },
  flags: [:remove_first]

@example Setting the request id

delete = Delete.new "moped", "people", { name: "John" },
  request_id: 123