Sha256: 4ab5f025fb2a9281f79558965ad64101e80499a3734a18814d8e737633f5027a
Contents?: true
Size: 399 Bytes
Versions: 7
Compression:
Stored size: 399 Bytes
Contents
class IndexHelper INDEXES = %w(events search geo) 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 def prepare! destroy_all! create_all! end end end
Version data entries
7 entries across 7 versions & 1 rubygems