rossedman / teamwork

Laravel 5 Teamwork PM API Bridge
http://rossedman.github.io/teamwork/
MIT License
45 stars 47 forks source link

add Project::createMilestone() #3

Closed cmbirk closed 9 years ago

cmbirk commented 9 years ago

Implementing the createMilestone as mentioned in the documentation.

As a heads up, and differing from the documentation, the Teamwork API requires responsible-party-ids, so $args should look like:

[
        'title'                 => 'Some Title',
        'description'           => 'Some Description',
        'deadline'              => '20150402',
        'notify'                => false,
        'reminder'              => false,
        'responsible-party-ids' => '1234567'
]