Auth

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

Auth

# FUNCTIONS

new($api)

  Create a new object for accessing Auth API

  Parameters

  $api

          API object

request_approval

          Freelancer submits work for the client to approve

  Parameters

  $params

          Hash of parameters

  Return value

          JSON response as a string

approve

          Approve an existing Submission

  Parameters

  $submission_id

          Submission ID

  $params

          Hash of parameters

  Return value

          JSON response as a string

reject

          Reject an existing Submission

  Parameters

  $submission_id

          Submission ID

  $params

          Hash of parameters

  Return value

          JSON response as a string

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2015

<<