blob: bdb7a1e67097611d65de2ab3a3c792da395f5ae8 [file] [log] [blame]
Joe Gregorioafc45f22011-02-20 16:11:28 -05001
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: class Resource</title>
4</head><body bgcolor="#f0f0f8">
5<p>
6<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
7<tr bgcolor="#ffc8d8">
8<td colspan=3 valign=bottom>&nbsp;<br>
9<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
10
11<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
12<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
13<tr><td>&nbsp;</td>
14<td width="100%">Methods defined here:<br>
15<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
16
17<dl><dt><a name="Resource-delete"><strong>delete</strong></a> = method(self, **kwargs)</dt><dd><tt>Deletes&nbsp;the&nbsp;authenticated&nbsp;user's&nbsp;current&nbsp;location.</tt></dd></dl>
18
19<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns&nbsp;the&nbsp;authenticated&nbsp;user's&nbsp;current&nbsp;location.<br>
20&nbsp;<br>
21Args:<br>
22&nbsp;&nbsp;granularity:&nbsp;Granularity&nbsp;of&nbsp;the&nbsp;requested&nbsp;location.</tt></dd></dl>
23
24<dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates&nbsp;or&nbsp;creates&nbsp;the&nbsp;user's&nbsp;current&nbsp;location.<br>
25&nbsp;<br>
26Args:<br>
27&nbsp;&nbsp;body:&nbsp;The&nbsp;request&nbsp;body.</tt></dd></dl>
28
29<hr>
30Data descriptors defined here:<br>
31<dl><dt><strong>__dict__</strong></dt>
32<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
33</dl>
34<dl><dt><strong>__weakref__</strong></dt>
35<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
36</dl>
37</td></tr></table>
38</body></html>