Sha256: 84d2fd0a118ed5184b78fa831d6b9c057800dfed8269a6850cb418c1e29f6631

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

module Esse
  class Index
    module ClassMethods
      def elasticsearch
        Esse::Backend::Index.new(self)
      end
      alias_method :backend, :elasticsearch
    end

    extend ClassMethods
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
esse-0.2.2 lib/esse/index/backend.rb
esse-0.2.0 lib/esse/index/backend.rb
esse-0.1.3 lib/esse/index/backend.rb
esse-0.1.2 lib/esse/index/backend.rb
esse-0.1.1 lib/esse/index/backend.rb