lib/reviewed/collection.rb in reviewed-0.0.8 vs lib/reviewed/collection.rb in reviewed-0.0.9

- old
+ new

@@ -17,10 +17,10 @@ self.params = params self.klass = klass self.items = [] data.each do |obj| - self.items << klass.from_response(obj) + self.items << klass.new(obj) end end def limit_value per_page