Sha256: d379cc0ff9686d04e687f19158ff5afc2d8b3b44eb3a181104658fccc6faaa67

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

module Indexers
  module Dsl
    class Mappings < Api

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

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
indexers-5.1.1 lib/indexers/dsl/mappings.rb
indexers-5.1.0 lib/indexers/dsl/mappings.rb
indexers-4.1.0.1 lib/indexers/dsl/mappings.rb
indexers-4.1.0.0 lib/indexers/dsl/mappings.rb