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

Provide S3 classes for return objects #9

Open
richierocks opened this issue Jun 13, 2019 · 0 comments
Open

Provide S3 classes for return objects #9

richierocks opened this issue Jun 13, 2019 · 0 comments

Comments

@richierocks
Copy link
Contributor

Currently the return value of all API calls is (I think) asana_api.

It could be useful to make use the class to make it clear what type of Asana object the thing is. That is, is it a workspace/project/task/user/section, etc.

For example, the result of asn_tasks_create() should have class c("asana_task", "asana_api"). Likewise the result of asn_projects_create() should have class c("asana_project", "asana_api").

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

No branches or pull requests

1 participant