require_relative 'auto_finder/findable' require_relative 'auto_finder/paginateble' require_relative 'auto_finder/by_ids' require_relative 'auto_finder/sortable' require_relative 'auto_finder/searchable' require_relative 'auto_finder/finder_methods' module Care class Finder include Care::AutoFinder::Findable include Care::AutoFinder::FinderMethods def self.call(relation, params) new(relation: relation, params: params).call end end end