Class: JsonApiFilter::FieldFilters::Searcher
- Defined in:
- lib/json_api_filter/field_filters/searcher.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from JsonApiFilter::FieldFilters::Base
Instance Method Details
#predicate ⇒ ActiveRecord_Relation
6 7 8 |
# File 'lib/json_api_filter/field_filters/searcher.rb', line 6 def predicate scope.send(values.keys.first, values.values.first) end |