Class: Esearch::Presenter::Document
- Inherits:
-
Esearch::Presenter
- Object
- Esearch::Presenter
- Esearch::Presenter::Document
- Defined in:
- lib/esearch/presenter/document.rb
Overview
Base class result of document command presenters
Defined Under Namespace
Instance Method Summary collapse
-
#_id ⇒ String
private
Return id.
-
#_index ⇒ String
private
Return index name.
-
#_type ⇒ String
private
Return type name.
-
#_version ⇒ Fixnum
private
Return version.
Instance Method Details
#_id ⇒ String
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 id
30 |
# File 'lib/esearch/presenter/document.rb', line 30 expose_primitive(:_id, :id) |
#_index ⇒ String
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 index name
14 |
# File 'lib/esearch/presenter/document.rb', line 14 expose_primitive(:_index, :index) |
#_type ⇒ String
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 type name
22 |
# File 'lib/esearch/presenter/document.rb', line 22 expose_primitive(:_type, :type) |
#_version ⇒ Fixnum
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 version
38 |
# File 'lib/esearch/presenter/document.rb', line 38 expose_primitive(:_version, :version) |