Commit 9bbbe73c5b3e5b1ed8fe93b2b0f4d1c4e92ffe19

Authored by Andrew Kane
1 parent 43db098d
Exists in master

Added todos [skip ci]

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/searchkick/results.rb
... ... @@ -3,6 +3,7 @@ module Searchkick
3 3 include Enumerable
4 4 extend Forwardable
5 5  
  6 + # TODO remove klass and options in 6.0
6 7 attr_reader :klass, :response, :options
7 8  
8 9 def_delegators :results, :each, :any?, :empty?, :size, :length, :slice, :[], :to_ary
... ... @@ -13,6 +14,7 @@ module Searchkick
13 14 @options = options
14 15 end
15 16  
  17 + # TODO make private in 6.0
16 18 def results
17 19 @results ||= with_hit.map(&:first)
18 20 end
... ...