Class: Eson::Search::FilterFacet

Inherits:
Object
  • Object
show all
Includes:
Facet, Filters, FilterMethods
Defined in:
lib/eson/search/filter_facet.rb

Instance Attribute Summary

Attributes included from Filters

#filters

Attributes included from Facet

#args, #scope_name

Instance Method Summary collapse

Methods included from Filters

#filters?, register, #to_query_hash

Methods included from Facet

included, #method_missing, #param, #scope

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Eson::Search::Facet

Instance Method Details

#filter { ... } ⇒ self

Generates a ‘filter` facet in a facets context.

Yields:

  • the block describing further options

Returns:

  • (self)

    the generated facet



9
# File 'lib/eson/search/filter_facet.rb', line 9

short_name :filter