recurly/recurly-client-python — pull request #13 by perryism (2011-12-03 00:17:01+00:00)
Title: plan_code couldn't be retrieved because it was nested inside <plan />

I add a __getpath__ method in Resource class to return a path of element. Usually, the path is the name of the element. However, it's not always the case. In fact, the path to plan_code is /plan/plan_code. Therefore, I overwrote the __getpath__method in Subscription.