doc/Pupil/Keygen.html in pupil-0.1.1 vs doc/Pupil/Keygen.html in pupil-0.1.2
- old
+ new
@@ -4,11 +4,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: Pupil::Keygen
- — Documentation by YARD 0.7.3
+ — Documentation by YARD 0.7.4
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
@@ -377,15 +377,15 @@
14</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 9</span>
-<span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id opts'>opts</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
- <span class='ivar'>@consumer_key</span> <span class='op'>=</span> <span class='id opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:consumer_key</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
- <span class='ivar'>@consumer_secret</span> <span class='op'>=</span> <span class='id opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:consumer_secret</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
- <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:access_token</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
- <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:access_token_secret</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
+ <span class='ivar'>@consumer_key</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:consumer_key</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
+ <span class='ivar'>@consumer_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:consumer_secret</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
+ <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:access_token</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
+ <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:access_token_secret</span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -428,11 +428,11 @@
7</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 5</span>
-<span class='kw'>def</span> <span class='id access_token'>access_token</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_access_token'>access_token</span>
<span class='ivar'>@access_token</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -471,11 +471,11 @@
8</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 6</span>
-<span class='kw'>def</span> <span class='id access_token_secret'>access_token_secret</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_access_token_secret'>access_token_secret</span>
<span class='ivar'>@access_token_secret</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -514,11 +514,11 @@
5</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 3</span>
-<span class='kw'>def</span> <span class='id consumer_key'>consumer_key</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_consumer_key'>consumer_key</span>
<span class='ivar'>@consumer_key</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -557,11 +557,11 @@
6</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 4</span>
-<span class='kw'>def</span> <span class='id consumer_secret'>consumer_secret</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_consumer_secret'>consumer_secret</span>
<span class='ivar'>@consumer_secret</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -617,15 +617,15 @@
21</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 16</span>
-<span class='kw'>def</span> <span class='id auth_url'>auth_url</span>
- <span class='id raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#auth_url require consumer_key and consumer_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span>
- <span class='id consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
- <span class='id request_token'>request_token</span> <span class='op'>=</span> <span class='id consumer'>consumer</span><span class='period'>.</span><span class='id get_request_token'>get_request_token</span>
- <span class='kw'>return</span> <span class='id request_token'>request_token</span><span class='period'>.</span><span class='id authorize_url'>authorize_url</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_auth_url'>auth_url</span>
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#auth_url require consumer_key and consumer_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span>
+ <span class='id identifier rubyid_consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_request_token'>request_token</span> <span class='op'>=</span> <span class='id identifier rubyid_consumer'>consumer</span><span class='period'>.</span><span class='id identifier rubyid_get_request_token'>get_request_token</span>
+ <span class='kw'>return</span> <span class='id identifier rubyid_request_token'>request_token</span><span class='period'>.</span><span class='id identifier rubyid_authorize_url'>authorize_url</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -669,33 +669,33 @@
66</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 43</span>
-<span class='kw'>def</span> <span class='id interactive'>interactive</span>
- <span class='id print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Consumer Key: </span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span>
- <span class='ivar'>@consumer_key</span> <span class='op'>=</span> <span class='id gets'>gets</span><span class='period'>.</span><span class='id chomp'>chomp</span><span class='period'>.</span><span class='id strip'>strip</span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span>
- <span class='id print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Consumer Secret: </span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_secret</span>
- <span class='ivar'>@consumer_secret</span> <span class='op'>=</span> <span class='id gets'>gets</span><span class='period'>.</span><span class='id chomp'>chomp</span><span class='period'>.</span><span class='id strip'>strip</span> <span class='kw'>unless</span> <span class='ivar'>@consumer_secret</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_interactive'>interactive</span>
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Consumer Key: </span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span>
+ <span class='ivar'>@consumer_key</span> <span class='op'>=</span> <span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span>
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Consumer Secret: </span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_secret</span>
+ <span class='ivar'>@consumer_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='kw'>unless</span> <span class='ivar'>@consumer_secret</span>
- <span class='id consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
- <span class='id request_token'>request_token</span> <span class='op'>=</span> <span class='id consumer'>consumer</span><span class='period'>.</span><span class='id get_request_token'>get_request_token</span>
+ <span class='id identifier rubyid_request_token'>request_token</span> <span class='op'>=</span> <span class='id identifier rubyid_consumer'>consumer</span><span class='period'>.</span><span class='id identifier rubyid_get_request_token'>get_request_token</span>
- <span class='id puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access to this URL and approve: </span><span class='embexpr_beg'>#{</span><span class='id request_token'>request_token</span><span class='period'>.</span><span class='id authorize_url'>authorize_url</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access to this URL and approve: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_request_token'>request_token</span><span class='period'>.</span><span class='id identifier rubyid_authorize_url'>authorize_url</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
- <span class='id print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Verifier: </span><span class='tstring_end'>"</span></span>
- <span class='id oauth_verifier'>oauth_verifier</span> <span class='op'>=</span> <span class='id gets'>gets</span><span class='period'>.</span><span class='id chomp'>chomp</span><span class='period'>.</span><span class='id strip'>strip</span>
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Enter OAuth Verifier: </span><span class='tstring_end'>"</span></span>
+ <span class='id identifier rubyid_oauth_verifier'>oauth_verifier</span> <span class='op'>=</span> <span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span>
- <span class='id access_token'>access_token</span> <span class='op'>=</span> <span class='id request_token'>request_token</span><span class='period'>.</span><span class='id get_access_token'>get_access_token</span><span class='lparen'>(</span><span class='symbol'>:oauth_verifier</span> <span class='op'>=></span> <span class='id oauth_verifier'>oauth_verifier</span><span class='rparen'>)</span>
- <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id token'>token</span>
- <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id secret'>secret</span>
+ <span class='id identifier rubyid_access_token'>access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_request_token'>request_token</span><span class='period'>.</span><span class='id identifier rubyid_get_access_token'>get_access_token</span><span class='lparen'>(</span><span class='symbol'>:oauth_verifier</span> <span class='op'>=></span> <span class='id identifier rubyid_oauth_verifier'>oauth_verifier</span><span class='rparen'>)</span>
+ <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span>
+ <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_secret'>secret</span>
- <span class='id puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Process complete!</span><span class='tstring_end'>"</span></span>
- <span class='id puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access token: </span><span class='embexpr_beg'>#{</span><span class='id access_token'>access_token</span><span class='period'>.</span><span class='id token'>token</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
- <span class='id puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access token secret: </span><span class='embexpr_beg'>#{</span><span class='id access_token'>access_token</span><span class='period'>.</span><span class='id secret'>secret</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
- <span class='kw'>return</span> <span class='lbrace'>{</span><span class='symbol'>:consumer_key</span> <span class='op'>=></span> <span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='symbol'>:consumer_secret</span> <span class='op'>=></span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:access_token</span> <span class='op'>=></span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id token'>token</span><span class='comma'>,</span> <span class='symbol'>:access_token_secret</span> <span class='op'>=></span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id secret'>secret</span><span class='rbrace'>}</span>
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Process complete!</span><span class='tstring_end'>"</span></span>
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access token: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Access token secret: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_secret'>secret</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
+ <span class='kw'>return</span> <span class='lbrace'>{</span><span class='symbol'>:consumer_key</span> <span class='op'>=></span> <span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='symbol'>:consumer_secret</span> <span class='op'>=></span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:access_token</span> <span class='op'>=></span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span><span class='comma'>,</span> <span class='symbol'>:access_token_secret</span> <span class='op'>=></span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_secret'>secret</span><span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -746,18 +746,18 @@
31</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 23</span>
-<span class='kw'>def</span> <span class='id issue_token'>issue_token</span> <span class='id verifier'>verifier</span>
- <span class='id raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#issue_token require consumer_key and consumer_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span>
- <span class='id consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
- <span class='id request_token'>request_token</span> <span class='op'>=</span> <span class='id consumer'>consumer</span><span class='period'>.</span><span class='id get_request_token'>get_request_token</span>
- <span class='id access_token'>access_token</span> <span class='op'>=</span> <span class='id request_token'>request_token</span><span class='period'>.</span><span class='id get_access_token'>get_access_token</span><span class='lparen'>(</span><span class='symbol'>:oauth_verifier</span> <span class='op'>=></span> <span class='id verifier'>verifier</span><span class='rparen'>)</span>
- <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id token'>token</span>
- <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id secret'>secret</span>
- <span class='kw'>return</span> <span class='lbrace'>{</span><span class='symbol'>:access_token</span> <span class='op'>=></span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id token'>token</span><span class='comma'>,</span> <span class='symbol'>:access_token_secret</span> <span class='op'>=></span> <span class='id access_token'>access_token</span><span class='period'>.</span><span class='id secret'>secret</span><span class='rbrace'>}</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_issue_token'>issue_token</span> <span class='id identifier rubyid_verifier'>verifier</span>
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#issue_token require consumer_key and consumer_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span>
+ <span class='id identifier rubyid_consumer'>consumer</span> <span class='op'>=</span> <span class='const'>OAuth</span><span class='op'>::</span><span class='const'>Consumer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@consumer_key</span><span class='comma'>,</span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span> <span class='symbol'>:site</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://twitter.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_request_token'>request_token</span> <span class='op'>=</span> <span class='id identifier rubyid_consumer'>consumer</span><span class='period'>.</span><span class='id identifier rubyid_get_request_token'>get_request_token</span>
+ <span class='id identifier rubyid_access_token'>access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_request_token'>request_token</span><span class='period'>.</span><span class='id identifier rubyid_get_access_token'>get_access_token</span><span class='lparen'>(</span><span class='symbol'>:oauth_verifier</span> <span class='op'>=></span> <span class='id identifier rubyid_verifier'>verifier</span><span class='rparen'>)</span>
+ <span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span>
+ <span class='ivar'>@access_token_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_secret'>secret</span>
+ <span class='kw'>return</span> <span class='lbrace'>{</span><span class='symbol'>:access_token</span> <span class='op'>=></span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span><span class='comma'>,</span> <span class='symbol'>:access_token_secret</span> <span class='op'>=></span> <span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_secret'>secret</span><span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -808,12 +808,12 @@
41</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/pupil/keygen/base.rb', line 33</span>
-<span class='kw'>def</span> <span class='id pupilkey'>pupilkey</span>
- <span class='id raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#pupilkey require consumer_key, consumer_secret, access_token and access_token_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span> <span class='op'>||</span> <span class='ivar'>@access_token</span> <span class='op'>||</span> <span class='ivar'>@access_token_secret</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_pupilkey'>pupilkey</span>
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>MissingRequiredTokens</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pupil::Keygen#pupilkey require consumer_key, consumer_secret, access_token and access_token_secret</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@consumer_key</span> <span class='op'>||</span> <span class='ivar'>@consumer_secret</span> <span class='op'>||</span> <span class='ivar'>@access_token</span> <span class='op'>||</span> <span class='ivar'>@access_token_secret</span>
<span class='kw'>return</span> <span class='lbrace'>{</span>
<span class='symbol'>:consumer_key</span> <span class='op'>=></span> <span class='ivar'>@consumer_key</span><span class='comma'>,</span>
<span class='symbol'>:consumer_secret</span> <span class='op'>=></span> <span class='ivar'>@consumer_secret</span><span class='comma'>,</span>
<span class='symbol'>:access_token</span> <span class='op'>=></span> <span class='ivar'>@access_token</span><span class='comma'>,</span>
<span class='symbol'>:access_token_secret</span> <span class='op'>=></span> <span class='ivar'>@access_token_secret</span>
@@ -827,12 +827,12 @@
</div>
</div>
<div id="footer">
- Generated on Fri Dec 16 17:19:17 2011 by
+ Generated on Sat Dec 17 20:58:33 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.7.3 (ruby-1.9.2).
+ 0.7.4 (ruby-1.9.2).
</div>
</body>
</html>
\ No newline at end of file