<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: Twitter::Command</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
function popupCode( url ) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
function toggleCode( id ) {
if ( document.getElementById )
elem = document.getElementById( id );
else if ( document.all )
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
// Make codeblocks hidden by default
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
// ]]>
</script>
</head>
<body>
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
<td><strong>Class</strong></td>
<td class="class-name-in-header">Twitter::Command</td>
</tr>
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
<a href="../../files/lib/twitter/command_rb.html">
lib/twitter/command.rb
</a>
<br />
</td>
</tr>
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
Object
</td>
</tr>
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
<div id="contextContent">
</div>
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
<a href="#M000008">commands</a>
<a href="#M000014">follower</a>
<a href="#M000013">followers</a>
<a href="#M000012">friend</a>
<a href="#M000011">friends</a>
<a href="#M000009">post</a>
<a href="#M000007">process</a>
<a href="#M000010">timeline</a>
</div>
</div>
</div>
<!-- if includes -->
<div id="section">
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
<div id="method-M000008" class="method-detail">
<a name="M000008"></a>
<div class="method-heading">
<a href="Command.src/M000008.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000008.html');return false;">
<span class="method-name">commands</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000014" class="method-detail">
<a name="M000014"></a>
<div class="method-heading">
<a href="Command.src/M000014.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000014.html');return false;">
<span class="method-name">follower</span><span class="method-args">(args)</span>
</a>
</div>
<div class="method-description">
<p>
Shows last updated status and time for a <a
href="Command.html#M000014">follower</a> Needs a screen name
</p>
</div>
</div>
<div id="method-M000013" class="method-detail">
<a name="M000013"></a>
<div class="method-heading">
<a href="Command.src/M000013.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000013.html');return false;">
<span class="method-name">followers</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p>
Shows all <a href="Command.html#M000013">followers</a> and their last
updated status
</p>
</div>
</div>
<div id="method-M000012" class="method-detail">
<a name="M000012"></a>
<div class="method-heading">
<a href="Command.src/M000012.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000012.html');return false;">
<span class="method-name">friend</span><span class="method-args">(args)</span>
</a>
</div>
<div class="method-description">
<p>
Shows last updated status and time for a <a
href="Command.html#M000012">friend</a> Needs a screen name
</p>
</div>
</div>
<div id="method-M000011" class="method-detail">
<a name="M000011"></a>
<div class="method-heading">
<a href="Command.src/M000011.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000011.html');return false;">
<span class="method-name">friends</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000009" class="method-detail">
<a name="M000009"></a>
<div class="method-heading">
<a href="Command.src/M000009.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000009.html');return false;">
<span class="method-name">post</span><span class="method-args">(args)</span>
</a>
</div>
<div class="method-description">
<p>
Posts an updated status to twitter
</p>
</div>
</div>
<div id="method-M000007" class="method-detail">
<a name="M000007"></a>
<div class="method-heading">
<a href="Command.src/M000007.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000007.html');return false;">
<span class="method-name">process</span><span class="method-args">(args)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000010" class="method-detail">
<a name="M000010"></a>
<div class="method-heading">
<a href="Command.src/M000010.html" target="Code" class="method-signature"
onclick="popupCode('Command.src/M000010.html');return false;">
<span class="method-name">timeline</span><span class="method-args">(args)</span>
</a>
</div>
<div class="method-description">
<p>
Shows status, time and user for the specified <a
href="Command.html#M000010">timeline</a>
</p>
</div>
</div>
</div>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
</html>