Sha256: f982c92951094053e79d9697b040b3ae5b6150bc2cead5e7b88410cadd0038ad
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 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 Waistband::Index.new('events', subs: %w(2013 01)).destroy end def create_all IndexHelper::INDEXES.each do |index| Waistband::Index.new(index).create end Waistband::Index.new('events', subs: %w(2013 01)).create end end end
Version data entries
6 entries across 6 versions & 1 rubygems