Sha256: 597d7a9fe0cf92ce684216e72b87532010e95cba593b3be7d03b4a715d3a972d

Contents?: true

Size: 466 Bytes

Versions: 6

Compression:

Stored size: 466 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
care-0.1.6 lib/care/finder.rb
care-0.1.5 lib/care/finder.rb
care-0.1.4 lib/care/finder.rb
care-0.1.3 lib/care/finder.rb
care-0.1.1 lib/care/finder.rb
care-0.1.0 lib/care/finder.rb