Class: Esearch::Presenter::Document::Operation::Delete

Inherits:
Esearch::Presenter::Document::Operation show all
Defined in:
lib/esearch/presenter/document.rb

Overview

Delete operation

Instance Method Summary collapse

Methods inherited from Esearch::Presenter::Document::Operation

#ok

Methods inherited from Esearch::Presenter::Document

#_id, #_index, #_type, #_version

Instance Method Details

#foundtrue, false

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test if document was found

Returns:

  • (true)

    if document was found

  • (false)

    otherwise



74
# File 'lib/esearch/presenter/document.rb', line 74

expose_primitive(:found, :found?)