lib/reviewed/collection.rb in reviewed-0.7.1 vs lib/reviewed/collection.rb in reviewed-0.8.0
- old
+ new
@@ -17,10 +17,10 @@
@params = params
@items = []
@page_attributes = body.pagination || {}
data.each do |obj|
- self.items << klass.new(obj)
+ self.items << klass.new(obj, client)
end
end
def limit_value
per_page