Sha256: 29a1d5ff334435d984daf1034e3c90982f126bc9668e35759e801663dc518f93

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Esse
  module Backend
    class Index
      module InstanceMethods
        def import!(**options)
          type_hash.each_value do |type|
            type.backend.import!(**options)
          end
        end

        def import(**options)
          type_hash.each_value do |type|
            type.backend.import(**options)
          end
        end
      end

      include InstanceMethods
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
esse-0.0.5 lib/esse/backend/index/documents.rb
esse-0.0.4 lib/esse/backend/index/documents.rb
esse-0.0.3 lib/esse/backend/index/documents.rb
esse-0.0.2 lib/esse/backend/index/documents.rb