Auth

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

Auth

# FUNCTIONS

new($api)

  Create a new object for accessing Auth API

  Parameters

  $api

          API object

get_rooms

          Retrive rooms information

  Return value

          JSON response as a string

get_room_details

          Get a specific room information

  Return value

          JSON response as a string

get_room_by_offer

          Get a specific room by offer ID

  Return value

          JSON response as a string

get_room_by_application

          Get a specific room by application ID

  Return value

          JSON response as a string

get_room_by_contract

          Get a specific room by contract ID

  Return value

          JSON response as a string

create_room

          Create a new room

  Return value

          JSON response as a string

send_message_to_room

          Send a message to a room

  Return value

          JSON response as a string

update_room_settings

          Update a room settings

  Return value

          JSON response as a string

update_room_metadata

          Update the metadata of a room

  Return value

          JSON response as a string

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2016

<<