Method: Esearch::Document#path

Defined in:
lib/esearch/document.rb

#pathPathname

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 path

Returns:

  • (Pathname)


39
40
41
# File 'lib/esearch/document.rb', line 39

def path
  type.path.join(id)
end