Method: Searchkick::IndexOptions#index_type

Defined in:
lib/searchkick/index_options.rb

#index_typeObject



532
533
534
535
536
537
538
# File 'lib/searchkick/index_options.rb', line 532

def index_type
  @index_type ||= begin
    index_type = options[:_type]
    index_type = index_type.call if index_type.respond_to?(:call)
    index_type
  end
end