Module: Graphiti::ActiveGraph::Scoping::Filterable
- Included in:
- Filter
- Defined in:
- lib/graphiti/active_graph/scoping/filterable.rb
Instance Method Summary collapse
Instance Method Details
#find_filter!(name) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/graphiti/active_graph/scoping/filterable.rb', line 4 def find_filter!(name) val = resource.filters[name] || { operators: {}, type: :string, single: false, dynamic_filter: true } {name => val} end |