Allow objects to store their details #16

Closed
wants to merge 10 commits into
from

Projects

None yet

3 participants

@martingordon

It's a pain to have to keep around both a list/client/segment object and a corresponding hash of details. These changes allow storing of the details as attributes on the object in standard Ruby notation (underscored instead of camel cased).

The changes are backwards-compatible. The details methods will still return the response hash.

@jdennes

I'm sorry this work was never merged into master. I was away and not actively maintaining this project when this pull request was made, and unfortunately nobody else looked at this.

The library has changed significantly since then, and this can't really be merged as it stands right now. I may end up using the ideas from this pull request to implement what you have done using the latest code.

@jdennes jdennes closed this Apr 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment