Sha256: 9f651133019caa5b56a9115c11111826f8b912f2d20be61db27d88c90c7d8afb

Contents?: true

Size: 390 Bytes

Versions: 7

Compression:

Stored size: 390 Bytes

Contents

module Elasticity
  module Strategies
    class IndexError < StandardError
      attr_reader :index_base_name

      def initialize(index_base_name, message)
        @index_name = index_name
        super("#{index_name}: #{message}")
      end
    end

    autoload :SingleIndex, "elasticity/strategies/single_index"
    autoload :AliasIndex,  "elasticity/strategies/alias_index"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
es-elasticity-0.3.6 lib/elasticity/strategies.rb
es-elasticity-0.3.5 lib/elasticity/strategies.rb
es-elasticity-0.3.4 lib/elasticity/strategies.rb
es-elasticity-0.3.3 lib/elasticity/strategies.rb
es-elasticity-0.3.2 lib/elasticity/strategies.rb
es-elasticity-0.3.1 lib/elasticity/strategies.rb
es-elasticity-0.3.0 lib/elasticity/strategies.rb