Module: Tire::Model::Naming::InstanceMethods

Included in:
Search::InstanceMethodsProxy
Defined in:
lib/tire/model/naming.rb

Instance Method Summary collapse

Instance Method Details

#document_typeObject

Proxy to instance method document_type.



92
93
94
# File 'lib/tire/model/naming.rb', line 92

def document_type
  instance.class.tire.document_type
end

#index_nameObject

Proxy to class method index_name.



86
87
88
# File 'lib/tire/model/naming.rb', line 86

def index_name
  instance.class.tire.index_name
end