Method: Esearch::Command::Document::Get#result
- Defined in:
- lib/esearch/command/document.rb
#result ⇒ true, 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.
Return result
67 68 69 70 71 72 73 74 |
# File 'lib/esearch/command/document.rb', line 67 def result assert_success if response.status == 200 presenter.new(parsed_json) else nil end end |