Count #101

Merged
merged 6 commits into from Nov 24, 2012

1 participant

@kevinburke

Have the ListResources support the Countable interface, so you can easily retrieve the total number of items. This is the dumbest possible implementation, with no caching and one cheap API request made for the total number of resources.

Kevin Burke added some commits Nov 23, 2012
Kevin Burke Catch exceptions and return 0 instead of null
Add an extra test if the total() is missing.
Add inline documentation
cd1181a
Kevin Burke inline the page totals b46dcc7
@kevinburke kevinburke merged commit b46dcc7 into master Nov 24, 2012

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment