Sha256: b2ccc12bc0d0c7a4b8bdb77b381fd24c9d9421f66c007ebc2d5e75cf6a176525

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

class IndexHelper

  INDEXES = %w(events search)

  class << self

    def destroy_all!
      IndexHelper::INDEXES.each do |index|
        Waistband::Index.new(index).destroy!
      end
    end

    def create_all!
      IndexHelper::INDEXES.each do |index|
        Waistband::Index.new(index).create!
      end
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waistband-0.0.15 spec/support/index_helper.rb