NAME

Auth

FUNCTIONS

new($api)

Create a new object for accessing Auth API

Parameters

$api

API object
get_by_company
Get Workdays by Company

Parameters

$company

Company ID

$from_date

Start date

$till_date

End date

$params

Hash of parameters

Return value

JSON response as a string
get_by_contract
Get Workdays by Contract

Parameters

$contract

Contract ID

$from_date

Start date

$till_date

End date

$params

Hash of parameters

Return value

JSON response as a string

AUTHOR

Maksym Novozhylov <mnovozhilov@upwork.com>

COPYRIGHT

Copyright © Upwork Global Corp., 2015