Braintree and ActiveResource

Been playing around with accessing Braintree transactions from ActiveResource, using the Query API in particular. Thanks to the folks over at QuarkRuby, getting started was quite easy, so I figured I might as well post what I have for the uninitiated.
pastie
To get started using the API, use commands like the following:

t = Braintree.find(:all, :params [...]