Add pagination helpers to API ListResources
Review Request #7181 — Created April 7, 2015 and submitted — Latest diff uploaded
Instances of API
ListResource
classes can easily iterate through all
pages or through all items of all pages easily via new helper methods.
These methods hide the pagination logic that was being used elsewhere
to manually go through all pages ofListResource
s.All instances of this have been replaced with the new helpers to make
the logic cleaner.
Ran unit tests.