Auth

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

Auth

# FUNCTIONS

new($api)

  Create a new object for accessing Auth API

  Parameters

  $api

          API object

get

          Get snapshot info

  Parameters

  $company

          Company ID

  $username

          User ID

  $ts

          Timestamp

  Return value

          JSON response as a string

update

          Update snapshot info

  Parameters

  $company

          Company ID

  $username

          User ID

  $ts

          Timestamp

  $params

          Hash of parameters

  Return value

          JSON response as a string

delete

          Delete snapshot info

  Parameters

  $company

          Company ID

  $username

          User ID

  $ts

          Timestamp

  Return value

          JSON response as a string

get_by_contract

          Get snapshot info by specific contract

  Parameters

  $contract

          Contract number

  $ts

          Timestamp

  Return value

          JSON response as a string

update_by_contract

          Update snapshot info by specific contract

  Parameters

  $contract

          Contract number

  $ts

          Timestamp

  $params

          Hash of parameters

  Return value

          JSON response as a string

delete_by_contract

          Delete snapshot info by specific contract

  Parameters

  $contract

          Contract number

  $ts

          Timestamp

  Return value

          JSON response as a string

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2015

<<