The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html><head><title>API</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
<link rel="stylesheet" title="blkbluw" type="text/css" href="../../_blkbluw.css" media="all" >
<link rel="alternate stylesheet" title="blkmagw" type="text/css" href="../../_blkmagw.css" media="all" >
<link rel="alternate stylesheet" title="blkcynw" type="text/css" href="../../_blkcynw.css" media="all" >
<link rel="alternate stylesheet" title="whtprpk" type="text/css" href="../../_whtprpk.css" media="all" >
<link rel="alternate stylesheet" title="whtnavk" type="text/css" href="../../_whtnavk.css" media="all" >
<link rel="alternate stylesheet" title="grygrnk" type="text/css" href="../../_grygrnk.css" media="all" >
<link rel="alternate stylesheet" title="whtgrng" type="text/css" href="../../_whtgrng.css" media="all" >
<link rel="alternate stylesheet" title="blkgrng" type="text/css" href="../../_blkgrng.css" media="all" >
<link rel="alternate stylesheet" title="grygrnw" type="text/css" href="../../_grygrnw.css" media="all" >
<link rel="alternate stylesheet" title="blkbluw" type="text/css" href="../../_blkbluw.css" media="all" >
<link rel="alternate stylesheet" title="whtpurk" type="text/css" href="../../_whtpurk.css" media="all" >
<link rel="alternate stylesheet" title="whtgrng" type="text/css" href="../../_whtgrng.css" media="all" >
<link rel="alternate stylesheet" title="grygrnw" type="text/css" href="../../_grygrnw.css" media="all" >

<script type="text/javascript" src="../../_podly.js"></script>

</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.29,
  using Pod::Simple::PullParser v3.29,
  under Perl v5.022001 at Wed Feb 15 11:45:11 2017 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<p class="backlinktop"><b><a name="___top" href="../../index.html" accesskey="1" title="All Documents">&lt;&lt;</a></b></p>

<div class='indexgroup'>
<ul   class='indexList indexList1'>
  <li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
  <li class='indexItem indexItem1'><a href='#FUNCTIONS'>FUNCTIONS</a>
  <li class='indexItem indexItem1'><a href='#AUTHOR'>AUTHOR</a>
  <li class='indexItem indexItem1'><a href='#COPYRIGHT'>COPYRIGHT</a>
</ul>
</div>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>API</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="FUNCTIONS"
>FUNCTIONS</a></h1>

<dl>
<dt><a name="new($config)"
>new($config)</a></dt>

<dd>
<p>Create a new Config</p>

<p><b>Parameters</b></p>

<p>$config</p>

<pre>    Config object</pre>

<dt><a name="init_router"
>init_router</a></dt>

<dd>
<pre>    Initialize router</pre>

<p><b>Parameters</b></p>

<p>$class</p>

<pre>    Class</pre>

<p>$api</p>

<pre>    API object</pre>

<p>$epoint</p>

<pre>    Entry point for the router</pre>

<p><b>Return value</b></p>

<pre>    Object</pre>

<dt><a name="get_access_token()"
>get_access_token()</a></dt>

<dd>
<pre>    Get access token key/secret pair</pre>

<p><b>Parameters</b></p>

<p>$verifier</p>

<pre>    OAuth verifier</pre>

<p><b>Return value</b></p>

<pre>    A hash that contains access token and secret</pre>

<dt><a name="get_authorization_url()"
>get_authorization_url()</a></dt>

<dd>
<pre>    Get Authorization Url and request token</pre>

<p><b>Return value</b></p>

<pre>    A string for authorization in the browser</pre>

<dt><a name="has_access_token()"
>has_access_token()</a></dt>

<dd>
<pre>    Check if access token has been already received</pre>

<p><b>Return value</b></p>

<pre>    Boolean</pre>

<dt><a name="client()"
>client()</a></dt>

<dd>
<pre>    Get client object</pre>

<p><b>Return value</b></p>

<pre>    Object</pre>
</dd>
</dl>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>Maksym Novozhylov <code>&#60;mnovozhilov@upwork.com&#62;</code></p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="COPYRIGHT"
>COPYRIGHT</a></h1>

<p>Copyright &#169; Upwork Global Corp., 2015</p>
<p class="backlinkbottom"><b><a name="___bottom" href="../../index.html" title="All Documents">&lt;&lt;</a></b></p>

<!-- end doc -->

</body></html>