Sha256: 14efd0662cc49c8b3a6977ed1f526caf4e1d9a330dcd629cadacf3ed07f19b85
Contents?: true
Size: 458 Bytes
Versions: 35
Compression:
Stored size: 458 Bytes
Contents
class IndexHelper INDEXES = %w(events search geo) class << self def delete_all IndexHelper::INDEXES.each do |index| Waistband::Index.new(index).delete end Waistband::Index.new('events', subs: %w(2013 01)).delete 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
35 entries across 35 versions & 1 rubygems