Module: ActiveEs::Schema::Describe
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActiveEs::Schema
- Defined in:
- lib/active_es/schema/describe.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 |
# File 'lib/active_es/schema/describe.rb', line 6 def index ActiveEs::Configurations.new.index end |
#mappings ⇒ Object
14 15 16 |
# File 'lib/active_es/schema/describe.rb', line 14 def mappings { mappings: { "#{type}" => { properties: properties } } } end |
#type ⇒ Object
10 11 12 |
# File 'lib/active_es/schema/describe.rb', line 10 def type name.tableize end |