API

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

API

# FUNCTIONS

new($config)

  Create a new Config

  Parameters

  $config

          Config object

init_router

          Initialize router

  Parameters

  $class

          Class

  $api

          API object

  $epoint

          Entry point for the router

  Return value

          Object

get_access_token()

          Get access token key/secret pair

  Parameters

  $verifier

          OAuth verifier

  Return value

          A hash that contains access token and secret

get_authorization_url()

          Get Authorization Url and request token

  Return value

          A string for authorization in the browser

has_access_token()

          Check if access token has been already received

  Return value

          Boolean

client()

          Get client object

  Return value

          Object

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2015

<<