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

should support attribute assignment #68

Open
abellotti opened this issue Apr 10, 2017 · 0 comments
Open

should support attribute assignment #68

abellotti opened this issue Apr 10, 2017 · 0 comments

Comments

@abellotti
Copy link
Member

abellotti commented Apr 10, 2017

If a resource supports the edit action, the API should support attribute assignment.

i.e.

miq.requests.find(155).description = "Updated description"

here, the API client would check "<attribute_name>=" in the method missing, and if the attribute specified is a valid attribute for the resource and the resource supports the edit action, then the API would call the appropriate edit post action updating that attribute.

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