class Daedal::Filters::NestedFilter
Public Instance Methods
to_hash()
click to toggle source
# File lib/daedal/filters/nested_filter.rb, line 14 def to_hash result = {nested: {path: path, filter: filter.to_hash}} options = {_name: name, _cache: cache}.select { |k,v| !v.nil? } result[:nested].merge! options result end