arsduo/koala — pull request #241 by wolframarnold (2012-07-30 21:28:53+00:00)
Title: Issue #237: All graph API methods take a post-processing block

Implements proposal laid out in Issue #237:
Each Graph API method now takes an optional post-processing block. The result data is passed to the block for post-processing. The return value of the method is the result of the block, if provided.
This also now exposes the previously existing but hidden mechanism to pass a block to batched Graph API calls. The post-processing block received GraphCollections, not raw data. Technically
an API-breaking change, but the block interface was never exposed, so it wouldn't affect users of the high-level API's.
Tests included and Readme updated with examples.