Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
use delete_document and pass on options #671
The perform method accepts an options hash, but this hash wasn't passed on to the API method.
I think the switch case/when can also be replaced with a simple if;
%w(index update delete).include?(operation.to_s)