NAME

Auth

FUNCTIONS

new($api)

Create a new object for accessing Auth API

Parameters

$api

API object
get_active_milestone
Get active Milestone for specific Contract

Parameters

$contract_id

Contract ID

Return value

JSON response as a string
get_submissions
Get active Milestone for specific Contract

Parameters

$milestone_id

Milestone ID

Return value

JSON response as a string
create
Create a new Milestone

Parameters

$params

Hash of parameters

Return value

JSON response as a string
edit
Edit an existing Milestone

Parameters

$milestone_id

Milestone ID

$params

Hash of parameters

Return value

JSON response as a string
activate
Activate an existing Milestone

Parameters

$milestone_id

Milestone ID

$params

Hash of parameters

Return value

JSON response as a string
approve
Approve an existing Milestone

Parameters

$milestone_id

Milestone ID

$params

Hash of parameters

Return value

JSON response as a string
delete
Delete existent milestone

Parameters

$milestone_id

Milestone ID

Return value

JSON response as a string

AUTHOR

Maksym Novozhylov <mnovozhilov@upwork.com>

COPYRIGHT

Copyright © Upwork Global Corp., 2015