NAME
Auth
FUNCTIONS
- new($api)
-
Create a new object for accessing Auth API
Parameters
$api
API object
- suspend_contract
-
Suspend Contract
Parameters
$reference
Contract reference
$params
Hash of parameters
Return value
JSON response as a string
- restart_contract
-
Restart Contract
Parameters
$reference
Contract reference
$params
Hash of parameters
Return value
JSON response as a string
- end_contract
-
End Contract
Parameters
$reference
Contract reference
$params
Hash of parameters
Return value
JSON response as a string
AUTHOR
Maksym Novozhylov <mnovozhilov@upwork.com>
COPYRIGHT
Copyright © Upwork Global Corp., 2015