twg/api_docs — pull request #1 by austenito (2012-11-14 21:22:33+00:00)
Title: Removed explict block parameter and json parsing fix

While using your gem I found that I didn't need to pass a block to configure the documentation. I changed the method signature to allow an optional block parameter.

I also had an issue with parsing the JSON body because my responses were sometimes empty. I added a rescue statement to handle an error parsing an invalid JSON response.