CodeBlock/callsign-gem — pull request #1 by watsoncj (2012-05-21 05:03:08+00:00)
Title: Allow traversing the response with the dot syntax

Hi Ricky,

Great gem!!

The method_missing approach is a cool idea. Unfortunately, It doesn't allow traversing more than one level deep.

To fix this, I made the following changes. They weren't as elegant as I would have liked, but I was able to preserve backward compatibility.

Added class-level search method
Wrap JSON response in Hashie to allow traversing with the dot syntax
Added/updated tests
Update documentation to reference the search method
initialize and method_missing were left in tact purely for backward compatibility
Did NOT roll any version numbers

Cheers,
Casey
KD0RWR