{"comment":{"created_at":"2011-10-19T17:28:04Z","body":"Good suggestion. I've made them Enumerable in 3fbd4d9. (I try to avoid inheriting from builtin objects in library, since this can lead to weird bugs if you're not paying attention.)","updated_at":"2011-10-19T17:28:04Z","url":"https://api.github.com/repos/stripe/stripe-ruby/issues/comments/2458699","id":2458699,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1b69d8736b7f8c25ec2f6a3f2eae1cba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1b69d8736b7f8c25ec2f6a3f2eae1cba","url":"https://api.github.com/users/gdb","id":211857,"login":"gdb"}},"action":"created","issue":{"number":6,"created_at":"2011-10-19T16:57:29Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"It is a bit awkward working with StripeObjects right now. I can't loop through them, I can't do a lot of things I normally would do with a hash.\r\n\r\nYou might actually just want to make stripe object inherit hash.","comments":1,"title":"Add a to_hash function to StripeObject","updated_at":"2011-10-19T17:28:04Z","url":"https://api.github.com/repos/stripe/stripe-ruby/issues/6","id":1996009,"assignee":null,"milestone":null,"closed_at":"2011-10-19T17:28:04Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/4d2c21c54eb999894fb07e06b2a1ca42?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4d2c21c54eb999894fb07e06b2a1ca42","url":"https://api.github.com/users/ryanong","id":206333,"login":"ryanong"},"html_url":"https://github.com/stripe/stripe-ruby/issues/6","labels":[],"state":"closed"},"legacy":{"issue_id":1996009,"comment_id":2458699}}