Skip to content

Instantly share code, notes, and snippets.

View davekrupinski's full-sized avatar

Dave Krupinski davekrupinski

  • Zendesk, Inc
  • San Francisco, CA
View GitHub Profile
@davekrupinski
davekrupinski / gist:3363164
Created August 15, 2012 20:06
Tire More Like This Api
module Tire
module Search
class Search
def initialize(indices=nil, options={}, &block)
if indices.is_a?(Hash)
set_indices_options(indices)
@indices = indices.keys
else