README.md in attune-0.0.2 vs README.md in attune-0.0.3
- old
+ new
@@ -62,10 +62,10 @@
@products = sorted(Product.all)
end
private
def sorted products
- ranking = attune_client.get_ranking(
+ ranking = attune_client.get_rankings(
id: session[:attune_id],
view: request.fullpath,
collection: 'products',
entities: products.map(&:id)
)