Sha256: 0360a4be20cd8b26d14941cca8e667a27678948e8f461c699a55e473b6f6e36b

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

module Indexes
  module Dsl
    class Mappings < Api

      def properties(*names)
        @parent[:properties] ||= {}
        names.each do |name|
          @parent[:properties][name] = Indexes.configuration.mappings[name]
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
indexes-4.0.0.2 lib/indexes/dsl/mappings.rb
indexes-4.0.0.1 lib/indexes/dsl/mappings.rb
indexes-4.0.0.0 lib/indexes/dsl/mappings.rb
indexes-0.0.1 lib/indexes/dsl/mappings.rb