Method: Chewy::Search::Parameters.storages

Defined in:
lib/chewy/search/parameters.rb

.storages{Symbol => Chewy::Search::Parameters::Storage}

Default storage classes warehouse. It is probably possible to add your own classes here if necessary, but I'm not sure it will work.

Returns:



19
20
21
22
23
# File 'lib/chewy/search/parameters.rb', line 19

def self.storages
  @storages ||= Hash.new do |hash, name|
    hash[name] = "Chewy::Search::Parameters::#{name.to_s.camelize}".constantize
  end
end