Method: Esse::IndexMapping#to_h

Defined in:
lib/esse/index_mapping.rb

#to_hObject

This method will be overwrited when passing a block during the mapping defination



16
17
18
19
20
# File 'lib/esse/index_mapping.rb', line 16

def to_h
  return @mappings unless @mappings.empty?

  from_template || @mappings
end