Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated docs to reflect changes to project layout.

git-svn-id: http://opensocial-ruby-client.googlecode.com/svn/trunk@10 f65e88d0-acf7-11dd-a0fe-71d3f493a0de
  • Loading branch information...
commit 2fb833288f3d327b1081d2ff7a06544d23219e64 1 parent bcfe232
api.dwh@google.com authored
Showing with 2,165 additions and 97 deletions.
  1. +2 −2 doc/classes/OpenSocial/Activity.html
  2. +1 −1  doc/classes/OpenSocial/Activity.src/M000030.html
  3. +26 −0 doc/classes/OpenSocial/Activity.src/M000031.html
  4. +2 −2 doc/classes/OpenSocial/AppData.html
  5. +1 −1  doc/classes/OpenSocial/AppData.src/M000002.html
  6. +27 −0 doc/classes/OpenSocial/AppData.src/M000003.html
  7. +2 −2 doc/classes/OpenSocial/Auth.html
  8. +1 −1  doc/classes/OpenSocial/Auth.src/M000001.html
  9. +27 −0 doc/classes/OpenSocial/Auth.src/M000002.html
  10. +2 −2 doc/classes/OpenSocial/AuthException.html
  11. +2 −2 doc/classes/OpenSocial/Base.html
  12. +1 −1  doc/classes/OpenSocial/Base.src/M000016.html
  13. +18 −0 doc/classes/OpenSocial/Base.src/M000017.html
  14. +2 −2 doc/classes/OpenSocial/Collection.html
  15. +1 −1  doc/classes/OpenSocial/Collection.src/M000021.html
  16. +18 −0 doc/classes/OpenSocial/Collection.src/M000022.html
  17. +2 −2 doc/classes/OpenSocial/Connection.html
  18. +1 −1  doc/classes/OpenSocial/Connection.src/M000019.html
  19. +1 −1  doc/classes/OpenSocial/Connection.src/M000020.html
  20. +26 −0 doc/classes/OpenSocial/Connection.src/M000021.html
  21. +2 −2 doc/classes/OpenSocial/FetchActivitiesRequest.html
  22. +1 −1  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000026.html
  23. +1 −1  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000027.html
  24. +1 −1  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000028.html
  25. +1 −1  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000029.html
  26. +26 −0 doc/classes/OpenSocial/FetchActivitiesRequest.src/M000030.html
  27. +2 −2 doc/classes/OpenSocial/FetchAppDataRequest.html
  28. +1 −1  doc/classes/OpenSocial/FetchAppDataRequest.src/M000022.html
  29. +1 −1  doc/classes/OpenSocial/FetchAppDataRequest.src/M000023.html
  30. +1 −1  doc/classes/OpenSocial/FetchAppDataRequest.src/M000024.html
  31. +1 −1  doc/classes/OpenSocial/FetchAppDataRequest.src/M000025.html
  32. +27 −0 doc/classes/OpenSocial/FetchAppDataRequest.src/M000026.html
  33. +2 −2 doc/classes/OpenSocial/FetchGroupsRequest.html
  34. +1 −1  doc/classes/OpenSocial/FetchGroupsRequest.src/M000003.html
  35. +1 −1  doc/classes/OpenSocial/FetchGroupsRequest.src/M000004.html
  36. +26 −0 doc/classes/OpenSocial/FetchGroupsRequest.src/M000005.html
  37. +2 −2 doc/classes/OpenSocial/FetchPeopleRequest.html
  38. +1 −1  doc/classes/OpenSocial/FetchPeopleRequest.src/M000012.html
  39. +1 −1  doc/classes/OpenSocial/FetchPeopleRequest.src/M000013.html
  40. +1 −1  doc/classes/OpenSocial/FetchPeopleRequest.src/M000014.html
  41. +1 −1  doc/classes/OpenSocial/FetchPeopleRequest.src/M000015.html
  42. +25 −0 doc/classes/OpenSocial/FetchPeopleRequest.src/M000016.html
  43. +2 −2 doc/classes/OpenSocial/FetchPersonRequest.html
  44. +1 −1  doc/classes/OpenSocial/FetchPersonRequest.src/M000008.html
  45. +1 −1  doc/classes/OpenSocial/FetchPersonRequest.src/M000009.html
  46. +1 −1  doc/classes/OpenSocial/FetchPersonRequest.src/M000010.html
  47. +1 −1  doc/classes/OpenSocial/FetchPersonRequest.src/M000011.html
  48. +25 −0 doc/classes/OpenSocial/FetchPersonRequest.src/M000012.html
  49. +2 −2 doc/classes/OpenSocial/Group.html
  50. +1 −1  doc/classes/OpenSocial/Group.src/M000005.html
  51. +26 −0 doc/classes/OpenSocial/Group.src/M000006.html
  52. +2 −2 doc/classes/OpenSocial/Person.html
  53. +1 −1  doc/classes/OpenSocial/Person.src/M000006.html
  54. +1 −1  doc/classes/OpenSocial/Person.src/M000007.html
  55. +22 −0 doc/classes/OpenSocial/Person.src/M000008.html
  56. +2 −2 doc/classes/OpenSocial/Request.html
  57. +1 −1  doc/classes/OpenSocial/Request.src/M000017.html
  58. +1 −1  doc/classes/OpenSocial/Request.src/M000018.html
  59. +31 −0 doc/classes/OpenSocial/Request.src/M000019.html
  60. +2 −2 doc/classes/OpenSocial/RequestException.html
  61. +2 −2 doc/classes/OpenSocial/RpcRequest.html
  62. +1 −1  doc/classes/OpenSocial/RpcRequest.src/M000031.html
  63. +1 −1  doc/classes/OpenSocial/RpcRequest.src/M000032.html
  64. +1 −1  doc/classes/OpenSocial/RpcRequest.src/M000033.html
  65. +1 −1  doc/classes/OpenSocial/RpcRequest.src/M000034.html
  66. +21 −0 doc/classes/OpenSocial/RpcRequest.src/M000035.html
  67. +137 −0 doc/classes/TS_AllTests.html
  68. +22 −0 doc/classes/TS_AllTests.src/M000001.html
  69. +1 −1  doc/created.rid
  70. +1 −1  doc/files/LICENSE.html
  71. +1 −1  doc/files/NOTICE.html
  72. +1 −1  doc/files/README.html
  73. +122 −0 doc/files/lib/opensocial/activity_rb.html
  74. +122 −0 doc/files/lib/opensocial/appdata_rb.html
  75. +144 −0 doc/files/lib/opensocial/auth/action_controller_request_rb.html
  76. +131 −0 doc/files/lib/opensocial/auth/validate_rb.html
  77. +132 −0 doc/files/lib/opensocial/base_rb.html
  78. +129 −0 doc/files/lib/opensocial/connection_rb.html
  79. +122 −0 doc/files/lib/opensocial/group_rb.html
  80. +122 −0 doc/files/lib/opensocial/person_rb.html
  81. +122 −0 doc/files/lib/opensocial/request_rb.html
  82. +129 −0 doc/files/lib/opensocial/string/merb_string_rb.html
  83. +122 −0 doc/files/lib/opensocial/string/os_string_rb.html
  84. +139 −0 doc/files/lib/opensocial_rb.html
  85. +6 −6 doc/files/rakefile_rb.html
  86. +1 −1  doc/files/tests/activity_test_rb.html
  87. +1 −1  doc/files/tests/appdata_test_rb.html
  88. +1 −1  doc/files/tests/group_test_rb.html
  89. +1 −1  doc/files/tests/person_test_rb.html
  90. +1 −1  doc/files/tests/test_helper_rb.html
  91. +3 −1 doc/files/tests/test_rb.html
  92. +12 −12 doc/fr_file_index.html
  93. +1 −1  tests/test.rb
View
4 doc/classes/OpenSocial/Activity.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/activity_rb.html">
- opensocial/activity.rb
+ <a href="../../files/lib/opensocial/activity_rb.html">
+ lib/opensocial/activity.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Activity.src/M000030.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/activity.rb, line 29</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 29</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">json</span>)
<span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">proper_key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">snake_case</span>
View
26 doc/classes/OpenSocial/Activity.src/M000031.html
@@ -0,0 +1,26 @@
+<?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>
+<head>
+ <title>new (OpenSocial::Activity)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 29</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">json</span>)
+ <span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">proper_key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">snake_case</span>
+ <span class="ruby-keyword kw">begin</span>
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{proper_key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NoMethodError</span>
+ <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">proper_key</span>)
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{proper_key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/AppData.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/appdata_rb.html">
- opensocial/appdata.rb
+ <a href="../../files/lib/opensocial/appdata_rb.html">
+ lib/opensocial/appdata.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/AppData.src/M000002.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/appdata.rb, line 32</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 32</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">json</span>)
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
View
27 doc/classes/OpenSocial/AppData.src/M000003.html
@@ -0,0 +1,27 @@
+<?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>
+<head>
+ <title>new (OpenSocial::AppData)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 32</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">json</span>)
+ <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
+
+ <span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
+ <span class="ruby-keyword kw">begin</span>
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NoMethodError</span>
+ <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">key</span>)
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Auth.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/auth/validate_rb.html">
- opensocial/auth/validate.rb
+ <a href="../../files/lib/opensocial/auth/validate_rb.html">
+ lib/opensocial/auth/validate.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Auth.src/M000001.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/auth/validate.rb, line 38</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/auth/validate.rb, line 38</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
<span class="ruby-identifier">consumer</span> = <span class="ruby-constant">OAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Consumer</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">CONSUMER_KEY</span>, <span class="ruby-constant">CONSUMER_SECRET</span>)
<span class="ruby-keyword kw">begin</span>
View
27 doc/classes/OpenSocial/Auth.src/M000002.html
@@ -0,0 +1,27 @@
+<?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>
+<head>
+ <title>validate (OpenSocial::Auth)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/auth/validate.rb, line 38</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
+ <span class="ruby-identifier">consumer</span> = <span class="ruby-constant">OAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Consumer</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">CONSUMER_KEY</span>, <span class="ruby-constant">CONSUMER_SECRET</span>)
+ <span class="ruby-keyword kw">begin</span>
+ <span class="ruby-identifier">signature</span> = <span class="ruby-constant">OAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Signature</span>.<span class="ruby-identifier">build</span>(<span class="ruby-identifier">request</span>) <span class="ruby-keyword kw">do</span>
+ [<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">consumer</span>.<span class="ruby-identifier">secret</span>]
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-identifier">pass</span> = <span class="ruby-identifier">signature</span>.<span class="ruby-identifier">verify</span>
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">OAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Signature</span><span class="ruby-operator">::</span><span class="ruby-constant">UnknownSignatureMethod</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
+ <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">error</span> <span class="ruby-value str">'An unknown signature method was supplied: '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">pass</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/AuthException.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/request_rb.html">
- opensocial/request.rb
+ <a href="../../files/lib/opensocial/request_rb.html">
+ lib/opensocial/request.rb
</a>
<br />
</td>
View
4 doc/classes/OpenSocial/Base.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/base_rb.html">
- opensocial/base.rb
+ <a href="../../files/lib/opensocial/base_rb.html">
+ lib/opensocial/base.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Base.src/M000016.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/base.rb, line 32</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/base.rb, line 32</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">name</span>)
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-node">&quot;attr_accessor :#{name}&quot;</span>
<span class="ruby-keyword kw">end</span></pre>
View
18 doc/classes/OpenSocial/Base.src/M000017.html
@@ -0,0 +1,18 @@
+<?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>
+<head>
+ <title>add_attr (OpenSocial::Base)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/base.rb, line 32</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">name</span>)
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-node">&quot;attr_accessor :#{name}&quot;</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Collection.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/base_rb.html">
- opensocial/base.rb
+ <a href="../../files/lib/opensocial/base_rb.html">
+ lib/opensocial/base.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Collection.src/M000021.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/base.rb, line 45</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/base.rb, line 45</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_array</span>
<span class="ruby-identifier">values</span>
<span class="ruby-keyword kw">end</span></pre>
View
18 doc/classes/OpenSocial/Collection.src/M000022.html
@@ -0,0 +1,18 @@
+<?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>
+<head>
+ <title>to_array (OpenSocial::Collection)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/base.rb, line 45</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_array</span>
+ <span class="ruby-identifier">values</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Connection.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/connection_rb.html">
- opensocial/connection.rb
+ <a href="../../files/lib/opensocial/connection_rb.html">
+ lib/opensocial/connection.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Connection.src/M000019.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/connection.rb, line 53</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/connection.rb, line 53</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">options</span> = <span class="ruby-constant">DEFAULT_OPTIONS</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
<span class="ruby-identifier">options</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
View
2  doc/classes/OpenSocial/Connection.src/M000020.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/connection.rb, line 74</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/connection.rb, line 74</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">service_uri</span>(<span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">pid</span>)
<span class="ruby-identifier">uri</span> = [<span class="ruby-ivar">@container</span>[<span class="ruby-identifier">:endpoint</span>], <span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">pid</span>].<span class="ruby-identifier">compact</span>.
<span class="ruby-identifier">join</span>(<span class="ruby-value str">'/'</span>)
View
26 doc/classes/OpenSocial/Connection.src/M000021.html
@@ -0,0 +1,26 @@
+<?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>
+<head>
+ <title>service_uri (OpenSocial::Connection)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/connection.rb, line 74</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">service_uri</span>(<span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">pid</span>)
+ <span class="ruby-identifier">uri</span> = [<span class="ruby-ivar">@container</span>[<span class="ruby-identifier">:endpoint</span>], <span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">pid</span>].<span class="ruby-identifier">compact</span>.
+ <span class="ruby-identifier">join</span>(<span class="ruby-value str">'/'</span>)
+
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@auth</span> <span class="ruby-operator">==</span> <span class="ruby-constant">AUTH_HMAC</span>
+ <span class="ruby-identifier">uri</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'?xoauth_requestor_id='</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@xoauth_requestor_id</span>
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-ivar">@auth</span> <span class="ruby-operator">==</span> <span class="ruby-constant">AUTH_ST</span>
+ <span class="ruby-identifier">uri</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'?st='</span> <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">st</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">uri</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/FetchActivitiesRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/activity_rb.html">
- opensocial/activity.rb
+ <a href="../../files/lib/opensocial/activity_rb.html">
+ lib/opensocial/activity.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000026.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/activity.rb, line 59</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 59</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-value str">'@me'</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-value str">'@self'</span>,
<span class="ruby-identifier">pid</span> = <span class="ruby-keyword kw">nil</span>)
<span class="ruby-keyword kw">super</span>
View
2  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000027.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/activity.rb, line 64</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 64</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>
<span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>, <span class="ruby-ivar">@selector</span>, <span class="ruby-ivar">@pid</span>)
View
2  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000028.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/activity.rb, line 70</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 70</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_rpc_response</span>(<span class="ruby-identifier">response</span>)
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parse_response</span>(<span class="ruby-identifier">response</span>[<span class="ruby-value str">'data'</span>][<span class="ruby-value str">'list'</span>])
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchActivitiesRequest.src/M000029.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/activity.rb, line 74</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 74</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
<span class="ruby-identifier">value</span> = {
<span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">RPC_SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
View
26 doc/classes/OpenSocial/FetchActivitiesRequest.src/M000030.html
@@ -0,0 +1,26 @@
+<?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>
+<head>
+ <title>to_json (OpenSocial::FetchActivitiesRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/activity.rb, line 74</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-identifier">value</span> = {
+ <span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">RPC_SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
+ <span class="ruby-value str">'params'</span> =<span class="ruby-operator">&gt;</span> {
+ <span class="ruby-value str">'userId'</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-node">&quot;#{@guid}&quot;</span>],
+ <span class="ruby-value str">'groupId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@selector}&quot;</span>,
+ <span class="ruby-value str">'appId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@pid}&quot;</span>
+ },
+ <span class="ruby-value str">'id'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@key</span>
+ }.<span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/FetchAppDataRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/appdata_rb.html">
- opensocial/appdata.rb
+ <a href="../../files/lib/opensocial/appdata_rb.html">
+ lib/opensocial/appdata.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/FetchAppDataRequest.src/M000022.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/appdata.rb, line 59</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 59</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-value str">'@me'</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-value str">'@self'</span>,
<span class="ruby-identifier">aid</span> = <span class="ruby-value str">'@app'</span>)
<span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">connection</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">aid</span>)
View
2  doc/classes/OpenSocial/FetchAppDataRequest.src/M000023.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/appdata.rb, line 64</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 64</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">unescape</span> = <span class="ruby-keyword kw">true</span>)
<span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>, <span class="ruby-ivar">@selector</span>, <span class="ruby-ivar">@pid</span>, <span class="ruby-identifier">unescape</span>)
View
2  doc/classes/OpenSocial/FetchAppDataRequest.src/M000024.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/appdata.rb, line 70</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 70</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_rpc_response</span>(<span class="ruby-identifier">response</span>)
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parse_response</span>(<span class="ruby-identifier">response</span>[<span class="ruby-value str">'data'</span>])
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchAppDataRequest.src/M000025.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/appdata.rb, line 74</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 74</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
<span class="ruby-identifier">value</span> = {
<span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
View
27 doc/classes/OpenSocial/FetchAppDataRequest.src/M000026.html
@@ -0,0 +1,27 @@
+<?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>
+<head>
+ <title>to_json (OpenSocial::FetchAppDataRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/appdata.rb, line 74</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-identifier">value</span> = {
+ <span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
+ <span class="ruby-value str">'params'</span> =<span class="ruby-operator">&gt;</span> {
+ <span class="ruby-value str">'userId'</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-node">&quot;#{@guid}&quot;</span>],
+ <span class="ruby-value str">'groupId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@selector}&quot;</span>,
+ <span class="ruby-value str">'appId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@pid}&quot;</span>,
+ <span class="ruby-value str">'fields'</span> =<span class="ruby-operator">&gt;</span> []
+ },
+ <span class="ruby-value str">'id'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@key</span>
+ }.<span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/FetchGroupsRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/group_rb.html">
- opensocial/group.rb
+ <a href="../../files/lib/opensocial/group_rb.html">
+ lib/opensocial/group.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/FetchGroupsRequest.src/M000003.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/group.rb, line 54</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/group.rb, line 54</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-value str">'@me'</span>)
<span class="ruby-keyword kw">super</span>
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchGroupsRequest.src/M000004.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/group.rb, line 58</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/group.rb, line 58</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>
<span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>)
View
26 doc/classes/OpenSocial/FetchGroupsRequest.src/M000005.html
@@ -0,0 +1,26 @@
+<?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>
+<head>
+ <title>send (OpenSocial::FetchGroupsRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/group.rb, line 58</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>
+ <span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>)
+
+ <span class="ruby-identifier">groups</span> = <span class="ruby-constant">Collection</span>.<span class="ruby-identifier">new</span>
+ <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">entry</span> <span class="ruby-keyword kw">in</span> <span class="ruby-identifier">json</span>[<span class="ruby-value str">'entry'</span>]
+ <span class="ruby-identifier">group</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">entry</span>)
+ <span class="ruby-identifier">groups</span>[<span class="ruby-identifier">group</span>.<span class="ruby-identifier">id</span>] = <span class="ruby-identifier">group</span>
+ <span class="ruby-keyword kw">end</span>
+
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">groups</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/FetchPeopleRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/person_rb.html">
- opensocial/person.rb
+ <a href="../../files/lib/opensocial/person_rb.html">
+ lib/opensocial/person.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/FetchPeopleRequest.src/M000012.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 116</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 116</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-value str">'@me'</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-value str">'@friends'</span>)
<span class="ruby-keyword kw">super</span>
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchPeopleRequest.src/M000013.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 120</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 120</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>
<span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>, <span class="ruby-ivar">@selector</span>)
View
2  doc/classes/OpenSocial/FetchPeopleRequest.src/M000014.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 126</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 126</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_rpc_response</span>(<span class="ruby-identifier">response</span>)
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parse_response</span>(<span class="ruby-identifier">response</span>[<span class="ruby-value str">'data'</span>][<span class="ruby-value str">'list'</span>])
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchPeopleRequest.src/M000015.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 130</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 130</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
<span class="ruby-identifier">value</span> = {
<span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
View
25 doc/classes/OpenSocial/FetchPeopleRequest.src/M000016.html
@@ -0,0 +1,25 @@
+<?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>
+<head>
+ <title>to_json (OpenSocial::FetchPeopleRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 130</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-identifier">value</span> = {
+ <span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
+ <span class="ruby-value str">'params'</span> =<span class="ruby-operator">&gt;</span> {
+ <span class="ruby-value str">'userId'</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-node">&quot;#{@guid}&quot;</span>],
+ <span class="ruby-value str">'groupId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@selector}&quot;</span>
+ },
+ <span class="ruby-value str">'id'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@key</span>
+ }.<span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/FetchPersonRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/person_rb.html">
- opensocial/person.rb
+ <a href="../../files/lib/opensocial/person_rb.html">
+ lib/opensocial/person.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/FetchPersonRequest.src/M000008.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 71</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 71</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-value str">'@me'</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-value str">'@self'</span>)
<span class="ruby-keyword kw">super</span>
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchPersonRequest.src/M000009.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 75</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 75</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>
<span class="ruby-identifier">json</span> = <span class="ruby-identifier">send_request</span>(<span class="ruby-constant">SERVICE</span>, <span class="ruby-ivar">@guid</span>, <span class="ruby-ivar">@selector</span>)
View
2  doc/classes/OpenSocial/FetchPersonRequest.src/M000010.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 81</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 81</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_rpc_response</span>(<span class="ruby-identifier">response</span>)
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parse_response</span>(<span class="ruby-identifier">response</span>[<span class="ruby-value str">'data'</span>])
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/FetchPersonRequest.src/M000011.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 85</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 85</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
<span class="ruby-identifier">value</span> = {
<span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
View
25 doc/classes/OpenSocial/FetchPersonRequest.src/M000012.html
@@ -0,0 +1,25 @@
+<?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>
+<head>
+ <title>to_json (OpenSocial::FetchPersonRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 85</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-identifier">value</span> = {
+ <span class="ruby-value str">'method'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SERVICE</span> <span class="ruby-operator">+</span> <span class="ruby-constant">GET</span>,
+ <span class="ruby-value str">'params'</span> =<span class="ruby-operator">&gt;</span> {
+ <span class="ruby-value str">'userId'</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-node">&quot;#{@guid}&quot;</span>],
+ <span class="ruby-value str">'groupId'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{@selector}&quot;</span>
+ },
+ <span class="ruby-value str">'id'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@key</span>
+ }.<span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Group.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/group_rb.html">
- opensocial/group.rb
+ <a href="../../files/lib/opensocial/group_rb.html">
+ lib/opensocial/group.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Group.src/M000005.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/group.rb, line 28</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/group.rb, line 28</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">json</span>)
<span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">proper_key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">snake_case</span>
View
26 doc/classes/OpenSocial/Group.src/M000006.html
@@ -0,0 +1,26 @@
+<?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>
+<head>
+ <title>new (OpenSocial::Group)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/group.rb, line 28</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">json</span>)
+ <span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">proper_key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">snake_case</span>
+ <span class="ruby-keyword kw">begin</span>
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{proper_key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NoMethodError</span>
+ <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">proper_key</span>)
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{proper_key}=&quot;</span>, <span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Person.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/person_rb.html">
- opensocial/person.rb
+ <a href="../../files/lib/opensocial/person_rb.html">
+ lib/opensocial/person.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Person.src/M000006.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 37</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 37</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">json</span>)
<span class="ruby-identifier">json</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">proper_key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">snake_case</span>
View
2  doc/classes/OpenSocial/Person.src/M000007.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/person.rb, line 49</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 49</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">display_name</span>
<span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'givenName'</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'familyName'</span>]
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'givenName'</span>] <span class="ruby-operator">+</span> <span class="ruby-value str">' '</span> <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'familyName'</span>]
View
22 doc/classes/OpenSocial/Person.src/M000008.html
@@ -0,0 +1,22 @@
+<?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>
+<head>
+ <title>display_name (OpenSocial::Person)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/person.rb, line 49</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">display_name</span>
+ <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'givenName'</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'familyName'</span>]
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'givenName'</span>] <span class="ruby-operator">+</span> <span class="ruby-value str">' '</span> <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>[<span class="ruby-value str">'familyName'</span>]
+ <span class="ruby-keyword kw">else</span>
+ <span class="ruby-keyword kw">return</span> <span class="ruby-value str">''</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/Request.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/request_rb.html">
- opensocial/request.rb
+ <a href="../../files/lib/opensocial/request_rb.html">
+ lib/opensocial/request.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/Request.src/M000017.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 38</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 38</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">guid</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">pid</span> = <span class="ruby-keyword kw">nil</span>)
<span class="ruby-ivar">@connection</span> = <span class="ruby-identifier">connection</span>
<span class="ruby-ivar">@guid</span> = <span class="ruby-identifier">guid</span>
View
2  doc/classes/OpenSocial/Request.src/M000018.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 45</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 45</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">pid</span> = <span class="ruby-keyword kw">nil</span>,
<span class="ruby-identifier">unescape</span> = <span class="ruby-keyword kw">false</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@connection</span>
View
31 doc/classes/OpenSocial/Request.src/M000019.html
@@ -0,0 +1,31 @@
+<?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>
+<head>
+ <title>send_request (OpenSocial::Request)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 45</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">service</span>, <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">pid</span> = <span class="ruby-keyword kw">nil</span>,
+ <span class="ruby-identifier">unescape</span> = <span class="ruby-keyword kw">false</span>)
+ <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@connection</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">RequestException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'Request requires a valid connection.'</span>)
+ <span class="ruby-keyword kw">end</span>
+
+ <span class="ruby-identifier">uri</span> = <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">service_uri</span>(<span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">container</span>[<span class="ruby-identifier">:rest</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">service</span>,
+ <span class="ruby-identifier">guid</span>, <span class="ruby-identifier">selector</span>, <span class="ruby-identifier">pid</span>)
+ <span class="ruby-identifier">data</span> = <span class="ruby-identifier">dispatch</span>(<span class="ruby-identifier">uri</span>)
+
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">unescape</span>
+ <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">data</span>.<span class="ruby-identifier">os_unescape</span>)
+ <span class="ruby-keyword kw">else</span>
+ <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">data</span>)
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
4 doc/classes/OpenSocial/RequestException.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/request_rb.html">
- opensocial/request.rb
+ <a href="../../files/lib/opensocial/request_rb.html">
+ lib/opensocial/request.rb
</a>
<br />
</td>
View
4 doc/classes/OpenSocial/RpcRequest.html
@@ -55,8 +55,8 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/opensocial/request_rb.html">
- opensocial/request.rb
+ <a href="../../files/lib/opensocial/request_rb.html">
+ lib/opensocial/request.rb
</a>
<br />
</td>
View
2  doc/classes/OpenSocial/RpcRequest.src/M000031.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 134</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 134</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span>, <span class="ruby-identifier">requests</span> = {})
<span class="ruby-ivar">@connection</span> = <span class="ruby-identifier">connection</span>
View
2  doc/classes/OpenSocial/RpcRequest.src/M000032.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 140</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 140</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">requests</span> = {})
<span class="ruby-ivar">@requests</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">requests</span>)
<span class="ruby-keyword kw">end</span></pre>
View
2  doc/classes/OpenSocial/RpcRequest.src/M000033.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 144</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 144</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">unescape</span> = <span class="ruby-keyword kw">true</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requests</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RequestException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'RPC request requires a non-empty hash '</span> <span class="ruby-operator">+</span>
View
2  doc/classes/OpenSocial/RpcRequest.src/M000034.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File opensocial/request.rb, line 153</span>
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 153</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">post_data</span>, <span class="ruby-identifier">unescape</span>)
<span class="ruby-identifier">uri</span> = <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">service_uri</span>(<span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">container</span>[<span class="ruby-identifier">:rpc</span>], <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>)
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">dispatch</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">post_data</span>)
View
21 doc/classes/OpenSocial/RpcRequest.src/M000035.html
@@ -0,0 +1,21 @@
+<?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>
+<head>
+ <title>send_request (OpenSocial::RpcRequest)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/opensocial/request.rb, line 153</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">post_data</span>, <span class="ruby-identifier">unescape</span>)
+ <span class="ruby-identifier">uri</span> = <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">service_uri</span>(<span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">container</span>[<span class="ruby-identifier">:rpc</span>], <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>)
+ <span class="ruby-identifier">data</span> = <span class="ruby-identifier">dispatch</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">post_data</span>)
+
+ <span class="ruby-identifier">parse_response</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">unescape</span>)
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
137 doc/classes/TS_AllTests.html
@@ -0,0 +1,137 @@
+<?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: TS_AllTests</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">TS_AllTests</td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>In:</strong></td>
+ <td>
+ <a href="../files/tests/test_rb.html">
+ tests/test.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="#M000001">suite</a>&nbsp;&nbsp;
+ </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-M000001" class="method-detail">
+ <a name="M000001"></a>
+
+ <div class="method-heading">
+ <a href="TS_AllTests.src/M000001.html" target="Code" class="method-signature"
+ onclick="popupCode('TS_AllTests.src/M000001.html');return false;">
+ <span class="method-name">suite</span><span class="method-args">()</span>
+ </a>
+ </div>
+
+ <div class="method-description">
+ </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>
View
22 doc/classes/TS_AllTests.src/M000001.html
@@ -0,0 +1,22 @@
+<?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>
+<head>
+ <title>suite (TS_AllTests)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File tests/test.rb, line 25</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">suite</span>
+ <span class="ruby-identifier">suite</span> = <span class="ruby-constant">Test</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span><span class="ruby-operator">::</span><span class="ruby-constant">TestSuite</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">name</span>
+ <span class="ruby-identifier">suite</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">ActivityTest</span>.<span class="ruby-identifier">suite</span>
+ <span class="ruby-identifier">suite</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">AppDataTest</span>.<span class="ruby-identifier">suite</span>
+ <span class="ruby-identifier">suite</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">GroupTest</span>.<span class="ruby-identifier">suite</span>
+ <span class="ruby-identifier">suite</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">PersonTest</span>.<span class="ruby-identifier">suite</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
View
2  doc/created.rid
@@ -1 +1 @@
-Tue, 25 Nov 2008 15:03:03 -0800
+Wed, 26 Nov 2008 11:45:46 -0800
View
2  doc/files/LICENSE.html
@@ -56,7 +56,7 @@
</tr>
<tr class="top-aligned-row">
<td><strong>Last Update:</strong></td>
- <td>Fri Nov 21 15:12:20 -0800 2008</td>
+ <td>Wed Nov 26 11:34:49 -0800 2008</td>
</tr>
</table>
</div>
View
2  doc/files/NOTICE.html
@@ -56,7 +56,7 @@
</tr>
<tr class="top-aligned-row">
<td><strong>Last Update:</strong></td>
- <td>Wed Nov 19 14:54:13 -0800 2008</td>
+ <td>Wed Nov 26 11:34:49 -0800 2008</td>
</tr>
</table>
</div>
View
2  doc/files/README.html
@@ -56,7 +56,7 @@
</tr>
<tr class="top-aligned-row">
<td><strong>Last Update:</strong></td>
- <td>Tue Nov 25 13:46:44 -0800 2008</td>
+ <td>Wed Nov 26 11:34:49 -0800 2008</td>
</tr>
</table>
</div>
View
122 doc/files/lib/opensocial/activity_rb.html
@@ -0,0 +1,122 @@
+<?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>File: activity.rb</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="fileHeader">
+ <h1>activity.rb</h1>
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Path:</strong></td>
+ <td>lib/opensocial/activity.rb
+ </td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>Last Update:</strong></td>
+ <td>Tue Nov 25 15:11:07 -0800 2008</td>
+ </tr>
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+
+
+ <div id="contextContent">
+
+ <div id="description">
+ <p>
+Copyright (c) 2008 Google Inc.
+</p>
+<p>
+Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+you may not use this file except in compliance with the License. You may
+obtain a copy of the License at
+</p>
+<pre>
+ http://www.apache.org/licenses/LICENSE-2.0
+</pre>
+<p>
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+</p>
+
+ </div>
+
+
+ </div>
+
+
+ </div>
+
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+
+
+
+
+
+
+ <!-- if method_list -->
+
+
+ </div>
+
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
View
122 doc/files/lib/opensocial/appdata_rb.html
@@ -0,0 +1,122 @@
+<?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>File: appdata.rb</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="fileHeader">
+ <h1>appdata.rb</h1>
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Path:</strong></td>
+ <td>lib/opensocial/appdata.rb
+ </td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>Last Update:</strong></td>
+ <td>Tue Nov 25 15:11:07 -0800 2008</td>
+ </tr>
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+
+
+ <div id="contextContent">
+
+ <div id="description">
+ <p>
+Copyright (c) 2008 Google Inc.
+</p>
+<p>
+Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+you may not use this file except in compliance with the License. You may
+obtain a copy of the License at
+</p>
+<pre>
+ http://www.apache.org/licenses/LICENSE-2.0
+</pre>
+<p>
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+</p>
+
+ </div>
+
+
+ </div>
+
+
+ </div>
+
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+
+
+
+
+
+
+ <!-- if method_list -->
+
+
+ </div>
+
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
View
144 doc/files/lib/opensocial/auth/action_controller_request_rb.html
@@ -0,0 +1,144 @@
+<?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>File: action_controller_request.rb</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="fileHeader">
+ <h1>action_controller_request.rb</h1>
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Path:</strong></td>
+ <td>lib/opensocial/auth/action_controller_request.rb
+ </td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>Last Update:</strong></td>
+ <td>Tue Nov 25 15:11:07 -0800 2008</td>
+ </tr>
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+
+
+ <div id="contextContent">
+
+ <div id="description">
+ <p>
+Copyright (c) 2007 Blaine Cook, Larry Halff, Pelle Braendgaard
+</p>
+<p>
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+&quot;Software&quot;), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to the
+following conditions:
+</p>
+<p>
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+</p>
+<p>
+THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+USE OR OTHER DEALINGS IN THE SOFTWARE.
+</p>
+<p>
+Includes modifications by Robin Luckey from: <a
+href="http://github.com/robinluckey/oauth/tree/master/lib%2Foauth%2Frequest_proxy%2Faction_controller_request.rb">github.com/robinluckey/oauth/tree/master/lib%2Foauth%2Frequest_proxy%2Faction_controller_request.rb</a>
+</p>
+
+ </div>
+
+ <div id="requires-list">
+ <h3 class="section-bar">Required files</h3>
+
+ <div class="name-list">
+ rubygems&nbsp;&nbsp;
+ active_support&nbsp;&nbsp;
+ action_controller/request&nbsp;&nbsp;
+ oauth/request_proxy/base&nbsp;&nbsp;
+ uri&nbsp;&nbsp;
+ </div>
+ </div>
+
+ </div>
+
+
+ </div>
+
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+
+
+
+
+
+
+ <!-- if method_list -->
+
+
+ </div>
+
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
View
131 doc/files/lib/opensocial/auth/validate_rb.html
@@ -0,0 +1,131 @@
+<?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>File: validate.rb</title>