elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb [23:36]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      include Elasticsearch::Model

      index_name 'dummy'

      def self.find(ids)
        ids.map { |id| new(id) }
      end

      attr_reader :id

      def initialize(id)
        @id = id.to_i
      end
    end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb [40:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        include Elasticsearch::Model

        index_name 'dummy'

        def self.find(ids)
          ids.map { |id| new(id) }
        end

        attr_reader :id

        def initialize(id)
          @id = id.to_i
        end
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



