I am creating an app for shopify using rails. I wondering, is there any way that I can get all the products from the merchant in batches?
From this wiki
https://github.com/Shopify/shopify_api/wiki/API-examples-(WIP)
What we can get for products is either all of them or limit them (
ShopifyAPI::Product.find(:all, :params => {:limit => 10})
).
I wanna get all the product, but I am afraid if I do it not in batches, it will consume a lot of memory.
Is there any similar method such as: find_each or find_in_batches ??
Thanks