Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Create Tasks #6

Open
cmbirk opened this issue Jun 16, 2015 · 4 comments
Open

Create Tasks #6

cmbirk opened this issue Jun 16, 2015 · 4 comments

Comments

@cmbirk
Copy link
Contributor

cmbirk commented Jun 16, 2015

@rossedman would it make more sense to add Tasklist::createTask() or Task::create($tasklistId) or both?

@cmbirk
Copy link
Contributor Author

cmbirk commented Jun 16, 2015

I think for my purposes I'm going to add Tasklist::createTask(), but would be happy to plug in the latter if that's the preference here.

@rossedman
Copy link
Owner

@cmbirk I am trying to stick to Laravel-like syntax as much as possible so I would most likely do Task::create(). If you notice in the Client some of these come prebaked in and are inherited by most models. The API is structured strange in certain places though especially around tasks so I have to look into it.

@rossedman
Copy link
Owner

@cmbirk Wait sorry. I misunderstood this. You want to create tasks on the task list. I think your syntax is definitely correct. Sorry for the confusion. I saw your pull request and I think it looks pretty good. Will review more later.

@lordspace
Copy link

How do I exactly use that method?
No example was given?

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

No branches or pull requests

3 participants