Method: Esearch::Document#connection

Defined in:
lib/esearch/document.rb

#connectionConnection

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 connection



50
51
52
# File 'lib/esearch/document.rb', line 50

def connection
  type.connection
end