Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More “ruby-like” API? #263

Open
moeffju opened this issue May 5, 2019 · 0 comments
Open

More “ruby-like” API? #263

moeffju opened this issue May 5, 2019 · 0 comments

Comments

@moeffju
Copy link

moeffju commented May 5, 2019

Thank you for developing ruby-trello. While building a relatively simple app that synchronizes data between trello and an external source bidirectionally, I’ve run into a number of snags due to documentation being very limited, but also because the API in many cases did not “feel” how I expected it to.

For example, it would be nice if I could just card.labels << some_label, or some_list.add_card some_card, pos: 'top' (instead of passing list_id manually). Or even some_list << some_card.

I also ran into some issues where cards would not update despite calling .save and getting a 200 OK response that I haven’t been able to get to the bottom of, as well as unexpected HTTP calls (e.g. when adding a label - the mental model for cards is that local data will be updated and I call .save manually, but .add_label does modify the card directly). It would be helpful if the mental model was consistent, i.e. either all changes are live or all changes are deferred?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants