Class: Care::Finder

Inherits:
Object
  • Object
show all
Includes:
AutoFinder::Findable, AutoFinder::FinderMethods
Defined in:
lib/care/finder.rb

Class Method Summary collapse

Methods included from AutoFinder::FinderMethods

#range_filter

Methods included from AutoFinder::Findable

#call, #initialize

Class Method Details

.call(relation, params) ⇒ Object



13
14
15
# File 'lib/care/finder.rb', line 13

def self.call(relation, params)
  new(relation: relation, params: params).call
end