Class: Caoutsearch::Filter::GeoPoint
- Defined in:
- lib/caoutsearch/filter/geo_point.rb
Instance Attribute Summary
Attributes inherited from Base
#key, #options, #original_value, #type
Instance Method Summary collapse
Methods inherited from Base
#as_json, call, #initialize, #value
Constructor Details
This class inherits a constructor from Caoutsearch::Filter::Base
Instance Method Details
#filter ⇒ Object
6 7 8 |
# File 'lib/caoutsearch/filter/geo_point.rb', line 6 def filter {geo_distance: {:distance => "1mm", key => value}} end |