myspace-ruby 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/doc/created.rid CHANGED
@@ -1 +1 @@
1
- Mon, 03 Mar 2008 18:25:31 -0800
1
+ Sat, 26 Apr 2008 01:45:46 -0700
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Mon Mar 03 18:20:55 -0800 2008</td>
59
+ <td>Sat Apr 26 01:28:23 -0700 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -76,8 +76,8 @@
76
76
  <h3 class="section-bar">Methods</h3>
77
77
 
78
78
  <div class="name-list">
79
- <a href="#M000001">connect</a>&nbsp;&nbsp;
80
- <a href="#M000002">connection</a>&nbsp;&nbsp;
79
+ <a href="#M000003">connect</a>&nbsp;&nbsp;
80
+ <a href="#M000004">connection</a>&nbsp;&nbsp;
81
81
  </div>
82
82
  </div>
83
83
 
@@ -117,11 +117,11 @@ Load YAML configuration from a file and use those parameters
117
117
  <div id="methods">
118
118
  <h3 class="section-bar">Public Class methods</h3>
119
119
 
120
- <div id="method-M000001" class="method-detail">
121
- <a name="M000001"></a>
120
+ <div id="method-M000003" class="method-detail">
121
+ <a name="M000003"></a>
122
122
 
123
123
  <div class="method-heading">
124
- <a href="#M000001" class="method-signature">
124
+ <a href="#M000003" class="method-signature">
125
125
  <span class="method-name">connect</span><span class="method-args">(apiKey=CONF[&quot;apiKey&quot;],secretKey=CONF[&quot;secretKey&quot;]) {|@connection if block_given?| ...}</span>
126
126
  </a>
127
127
  </div>
@@ -132,11 +132,16 @@ Connect to <a href="../../classes/MySpace.html">MySpace</a>&#8216;s API
132
132
  servers
133
133
  </p>
134
134
  <p><a class="source-toggle" href="#"
135
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
136
- <div class="method-source-code" id="M000001-source">
135
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
136
+ <div class="method-source-code" id="M000003-source">
137
137
  <pre>
138
138
  <span class="ruby-comment cmt"># File lib/myspace.rb, line 27</span>
139
139
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">connect</span>(<span class="ruby-identifier">apiKey</span>=<span class="ruby-constant">CONF</span>[<span class="ruby-value str">&quot;apiKey&quot;</span>],<span class="ruby-identifier">secretKey</span>=<span class="ruby-constant">CONF</span>[<span class="ruby-value str">&quot;secretKey&quot;</span>])
140
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">InvalidCredentials</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;No apiKey or secretKey, aborting connect.
141
+ You need to pass them to MySpace.connect or put them in myspace.conf&quot;</span>) \
142
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">apiKey</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">secretKey</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">||</span>
143
+ <span class="ruby-identifier">apiKey</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x{7}/</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">secretKey</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x{7}/</span>
144
+
140
145
  <span class="ruby-ivar">@connection</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:apiKey</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">apiKey</span>, <span class="ruby-identifier">:secretKey</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">secretKey</span>)
141
146
 
142
147
  <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@connection</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
@@ -147,21 +152,21 @@ servers
147
152
  </div>
148
153
  </div>
149
154
 
150
- <div id="method-M000002" class="method-detail">
151
- <a name="M000002"></a>
155
+ <div id="method-M000004" class="method-detail">
156
+ <a name="M000004"></a>
152
157
 
153
158
  <div class="method-heading">
154
- <a href="#M000002" class="method-signature">
159
+ <a href="#M000004" class="method-signature">
155
160
  <span class="method-name">connection</span><span class="method-args">()</span>
156
161
  </a>
157
162
  </div>
158
163
 
159
164
  <div class="method-description">
160
165
  <p><a class="source-toggle" href="#"
161
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
162
- <div class="method-source-code" id="M000002-source">
166
+ onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
167
+ <div class="method-source-code" id="M000004-source">
163
168
  <pre>
164
- <span class="ruby-comment cmt"># File lib/myspace.rb, line 34</span>
169
+ <span class="ruby-comment cmt"># File lib/myspace.rb, line 39</span>
165
170
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">connection</span>
166
171
  <span class="ruby-ivar">@connection</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">connect</span>
167
172
  <span class="ruby-keyword kw">end</span>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Feb 22 23:39:58 -0800 2008</td>
59
+ <td>Sat Apr 26 01:44:29 -0700 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -21,6 +21,9 @@
21
21
  <h1 class="section-bar">Classes</h1>
22
22
  <div id="index-entries">
23
23
  <a href="classes/MySpace.html">MySpace</a><br />
24
+ <a href="classes/MySpace/Connection.html">MySpace::Connection</a><br />
25
+ <a href="classes/MySpace/Object.html">MySpace::Object</a><br />
26
+ <a href="classes/MySpace/User.html">MySpace::User</a><br />
24
27
  <a href="classes/MySpaceAPITest.html">MySpaceAPITest</a><br />
25
28
  </div>
26
29
  </div>
@@ -21,6 +21,15 @@
21
21
  <h1 class="section-bar">Files</h1>
22
22
  <div id="index-entries">
23
23
  <a href="files/lib/myspace_rb.html">lib/myspace.rb</a><br />
24
+ <a href="files/lib/myspace/classes/user_rb.html">lib/myspace/classes/user.rb</a><br />
25
+ <a href="files/lib/myspace/connection_rb.html">lib/myspace/connection.rb</a><br />
26
+ <a href="files/lib/myspace/loader_rb.html">lib/myspace/loader.rb</a><br />
27
+ <a href="files/lib/myspace/object_rb.html">lib/myspace/object.rb</a><br />
28
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace_rb.html">pkg/myspace-ruby-0.7.0/lib/myspace.rb</a><br />
29
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/classes/user_rb.html">pkg/myspace-ruby-0.7.0/lib/myspace/classes/user.rb</a><br />
30
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/connection_rb.html">pkg/myspace-ruby-0.7.0/lib/myspace/connection.rb</a><br />
31
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/loader_rb.html">pkg/myspace-ruby-0.7.0/lib/myspace/loader.rb</a><br />
32
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/object_rb.html">pkg/myspace-ruby-0.7.0/lib/myspace/object.rb</a><br />
24
33
  <a href="files/pkg/myspace-ruby-0_7_0/tests/test_rb.html">pkg/myspace-ruby-0.7.0/tests/test.rb</a><br />
25
34
  <a href="files/tests/test_rb.html">tests/test.rb</a><br />
26
35
  </div>
@@ -20,34 +20,64 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
- <a href="files/lib/myspace_rb.html#M000001">connect (lib/myspace.rb)</a><br />
24
- <a href="files/lib/myspace_rb.html#M000002">connection (lib/myspace.rb)</a><br />
25
- <a href="classes/MySpaceAPITest.html#M000003">setup (MySpaceAPITest)</a><br />
26
- <a href="classes/MySpaceAPITest.html#M000016">setup (MySpaceAPITest)</a><br />
27
- <a href="classes/MySpaceAPITest.html#M000004">test_album (MySpaceAPITest)</a><br />
28
- <a href="classes/MySpaceAPITest.html#M000017">test_album (MySpaceAPITest)</a><br />
29
- <a href="classes/MySpaceAPITest.html#M000018">test_detail (MySpaceAPITest)</a><br />
30
- <a href="classes/MySpaceAPITest.html#M000005">test_detail (MySpaceAPITest)</a><br />
31
- <a href="classes/MySpaceAPITest.html#M000006">test_friends (MySpaceAPITest)</a><br />
32
- <a href="classes/MySpaceAPITest.html#M000019">test_friends (MySpaceAPITest)</a><br />
33
- <a href="classes/MySpaceAPITest.html#M000007">test_friendship (MySpaceAPITest)</a><br />
34
- <a href="classes/MySpaceAPITest.html#M000020">test_friendship (MySpaceAPITest)</a><br />
35
- <a href="classes/MySpaceAPITest.html#M000021">test_group (MySpaceAPITest)</a><br />
36
- <a href="classes/MySpaceAPITest.html#M000008">test_group (MySpaceAPITest)</a><br />
37
- <a href="classes/MySpaceAPITest.html#M000022">test_interest (MySpaceAPITest)</a><br />
38
- <a href="classes/MySpaceAPITest.html#M000009">test_interest (MySpaceAPITest)</a><br />
39
- <a href="classes/MySpaceAPITest.html#M000010">test_mood (MySpaceAPITest)</a><br />
40
- <a href="classes/MySpaceAPITest.html#M000023">test_mood (MySpaceAPITest)</a><br />
41
- <a href="classes/MySpaceAPITest.html#M000011">test_photo (MySpaceAPITest)</a><br />
42
- <a href="classes/MySpaceAPITest.html#M000024">test_photo (MySpaceAPITest)</a><br />
43
- <a href="classes/MySpaceAPITest.html#M000025">test_profile (MySpaceAPITest)</a><br />
44
- <a href="classes/MySpaceAPITest.html#M000012">test_profile (MySpaceAPITest)</a><br />
45
- <a href="classes/MySpaceAPITest.html#M000013">test_status (MySpaceAPITest)</a><br />
46
- <a href="classes/MySpaceAPITest.html#M000026">test_status (MySpaceAPITest)</a><br />
47
- <a href="classes/MySpaceAPITest.html#M000027">test_user (MySpaceAPITest)</a><br />
48
- <a href="classes/MySpaceAPITest.html#M000014">test_user (MySpaceAPITest)</a><br />
49
- <a href="classes/MySpaceAPITest.html#M000015">test_video (MySpaceAPITest)</a><br />
50
- <a href="classes/MySpaceAPITest.html#M000028">test_video (MySpaceAPITest)</a><br />
23
+ <a href="classes/MySpace/Object.html#M000050">build_request (MySpace::Object)</a><br />
24
+ <a href="classes/MySpace/Object.html#M000056">build_request (MySpace::Object)</a><br />
25
+ <a href="files/lib/myspace_rb.html#M000003">connect (lib/myspace.rb)</a><br />
26
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace_rb.html#M000007">connect (pkg/myspace-ruby-0.7.0/lib/myspace.rb)</a><br />
27
+ <a href="classes/MySpace/Connection.html#M000036">connect (MySpace::Connection)</a><br />
28
+ <a href="classes/MySpace/Connection.html#M000043">connect (MySpace::Connection)</a><br />
29
+ <a href="files/lib/myspace_rb.html#M000004">connection (lib/myspace.rb)</a><br />
30
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace_rb.html#M000008">connection (pkg/myspace-ruby-0.7.0/lib/myspace.rb)</a><br />
31
+ <a href="classes/MySpace/Connection.html#M000042">consumer (MySpace::Connection)</a><br />
32
+ <a href="classes/MySpace/Connection.html#M000035">consumer (MySpace::Connection)</a><br />
33
+ <a href="classes/MySpace/Object.html#M000058">get (MySpace::Object)</a><br />
34
+ <a href="classes/MySpace/Connection.html#M000046">get (MySpace::Connection)</a><br />
35
+ <a href="classes/MySpace/Object.html#M000052">get (MySpace::Object)</a><br />
36
+ <a href="classes/MySpace/Connection.html#M000039">get (MySpace::Connection)</a><br />
37
+ <a href="classes/MySpace/Connection.html#M000038">get_body (MySpace::Connection)</a><br />
38
+ <a href="classes/MySpace/Connection.html#M000045">get_body (MySpace::Connection)</a><br />
39
+ <a href="classes/MySpace/Object.html#M000051">get_raw (MySpace::Object)</a><br />
40
+ <a href="classes/MySpace/Object.html#M000057">get_raw (MySpace::Object)</a><br />
41
+ <a href="classes/MySpace/Object.html#M000048">json_to_obj (MySpace::Object)</a><br />
42
+ <a href="classes/MySpace/Object.html#M000054">json_to_obj (MySpace::Object)</a><br />
43
+ <a href="classes/MySpace/Object.html#M000049">json_to_obj_collection (MySpace::Object)</a><br />
44
+ <a href="classes/MySpace/Object.html#M000055">json_to_obj_collection (MySpace::Object)</a><br />
45
+ <a href="classes/MySpace/Object.html#M000047">new (MySpace::Object)</a><br />
46
+ <a href="classes/MySpace/Connection.html#M000033">new (MySpace::Connection)</a><br />
47
+ <a href="classes/MySpace/Connection.html#M000040">new (MySpace::Connection)</a><br />
48
+ <a href="classes/MySpace/Object.html#M000053">new (MySpace::Object)</a><br />
49
+ <a href="classes/MySpace/Connection.html#M000044">post (MySpace::Connection)</a><br />
50
+ <a href="classes/MySpace/Connection.html#M000037">post (MySpace::Connection)</a><br />
51
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/loader_rb.html#M000006">remote_install (pkg/myspace-ruby-0.7.0/lib/myspace/loader.rb)</a><br />
52
+ <a href="files/lib/myspace/loader_rb.html#M000002">remote_install (lib/myspace/loader.rb)</a><br />
53
+ <a href="files/pkg/myspace-ruby-0_7_0/lib/myspace/loader_rb.html#M000005">remote_install_failed (pkg/myspace-ruby-0.7.0/lib/myspace/loader.rb)</a><br />
54
+ <a href="files/lib/myspace/loader_rb.html#M000001">remote_install_failed (lib/myspace/loader.rb)</a><br />
55
+ <a href="classes/MySpaceAPITest.html#M000021">setup (MySpaceAPITest)</a><br />
56
+ <a href="classes/MySpaceAPITest.html#M000009">setup (MySpaceAPITest)</a><br />
57
+ <a href="classes/MySpaceAPITest.html#M000022">test_album (MySpaceAPITest)</a><br />
58
+ <a href="classes/MySpaceAPITest.html#M000010">test_album (MySpaceAPITest)</a><br />
59
+ <a href="classes/MySpaceAPITest.html#M000011">test_detail (MySpaceAPITest)</a><br />
60
+ <a href="classes/MySpaceAPITest.html#M000023">test_detail (MySpaceAPITest)</a><br />
61
+ <a href="classes/MySpaceAPITest.html#M000024">test_friends (MySpaceAPITest)</a><br />
62
+ <a href="classes/MySpaceAPITest.html#M000012">test_friends (MySpaceAPITest)</a><br />
63
+ <a href="classes/MySpaceAPITest.html#M000025">test_friendship (MySpaceAPITest)</a><br />
64
+ <a href="classes/MySpaceAPITest.html#M000013">test_friendship (MySpaceAPITest)</a><br />
65
+ <a href="classes/MySpaceAPITest.html#M000014">test_interest (MySpaceAPITest)</a><br />
66
+ <a href="classes/MySpaceAPITest.html#M000026">test_interest (MySpaceAPITest)</a><br />
67
+ <a href="classes/MySpaceAPITest.html#M000027">test_mood (MySpaceAPITest)</a><br />
68
+ <a href="classes/MySpaceAPITest.html#M000015">test_mood (MySpaceAPITest)</a><br />
69
+ <a href="classes/MySpaceAPITest.html#M000028">test_photo (MySpaceAPITest)</a><br />
70
+ <a href="classes/MySpaceAPITest.html#M000016">test_photo (MySpaceAPITest)</a><br />
71
+ <a href="classes/MySpaceAPITest.html#M000017">test_profile (MySpaceAPITest)</a><br />
72
+ <a href="classes/MySpaceAPITest.html#M000029">test_profile (MySpaceAPITest)</a><br />
73
+ <a href="classes/MySpaceAPITest.html#M000018">test_status (MySpaceAPITest)</a><br />
74
+ <a href="classes/MySpaceAPITest.html#M000030">test_status (MySpaceAPITest)</a><br />
75
+ <a href="classes/MySpaceAPITest.html#M000031">test_user (MySpaceAPITest)</a><br />
76
+ <a href="classes/MySpaceAPITest.html#M000019">test_user (MySpaceAPITest)</a><br />
77
+ <a href="classes/MySpaceAPITest.html#M000020">test_video (MySpaceAPITest)</a><br />
78
+ <a href="classes/MySpaceAPITest.html#M000032">test_video (MySpaceAPITest)</a><br />
79
+ <a href="classes/MySpace/Connection.html#M000034">timestamp (MySpace::Connection)</a><br />
80
+ <a href="classes/MySpace/Connection.html#M000041">timestamp (MySpace::Connection)</a><br />
51
81
  </div>
52
82
  </div>
53
83
  </body>
@@ -11,6 +11,7 @@ class MySpace::User < MySpace::Object
11
11
  attr_accessor :userId
12
12
  attr_accessor :onlineNow
13
13
  attr_accessor :image
14
+ attr_accessor :largeimage
14
15
 
15
16
  end
16
17
 
@@ -22,7 +22,7 @@ class Connection
22
22
  # Constructor for the MySpace::Connection class
23
23
  def initialize(attributes={})
24
24
  @apiKey = attributes[:apiKey] ||= CONF["apiKey"]
25
- @secretKey = attributes[:apiSecret] ||= CONF["secretKey"]
25
+ @secretKey = attributes[:secretKey] ||= CONF["secretKey"]
26
26
  @host = attributes[:host] ||= API_HOST
27
27
  @format = attributes[:format] ||= "json"
28
28
 
@@ -42,7 +42,7 @@ class Connection
42
42
  end
43
43
 
44
44
  def consumer
45
- OAuth::Consumer.new(CGI.escape(@apiKey),@secretKey,@oauthOptions)
45
+ OAuth::Consumer.new(@apiKey,@secretKey,@oauthOptions)
46
46
  end
47
47
 
48
48
  # Connects to the MySapce API servers, returning a Net::HTTP class
@@ -1,6 +1,6 @@
1
1
  # MySpace libs
2
2
  %w( connection object
3
- album detail friends friendship group
3
+ album detail friends friendship
4
4
  interest mood photo profile status user video
5
5
  ).each(&method(:require))
6
6
  # Base libraries
@@ -102,7 +102,6 @@ class Object
102
102
  if @dataType == "Hash"
103
103
  self.json_to_obj(body)
104
104
  elsif @dataType == "Array"
105
- body.sub!(/\{"Groups"\:/,'{"groups":') # you did not see this
106
105
  self.json_to_obj_collection(body)
107
106
  else
108
107
  raise InvalidRequestParams.new("#{@dataType} is not a valid data type.")
data/lib/myspace.rb CHANGED
@@ -10,7 +10,7 @@ load "error.rb"
10
10
  module MySpace
11
11
  VERSION = "0.7"
12
12
  API_FORMATS = ["json","xml"]
13
- API_HOST = "api.msappspace.com"
13
+ API_HOST = "api.myspace.com"
14
14
  API_VERSION = "v1"
15
15
  API_CONF = if File.exist?("myspace.conf")
16
16
  "myspace.conf"
data/tests/test.rb CHANGED
@@ -8,7 +8,7 @@ class MySpaceAPITest < Test::Unit::TestCase
8
8
  @@friendIds = "0;1"
9
9
  @@albumId = 0
10
10
 
11
- @@classes = %w[ album detail friends friendship group
11
+ @@classes = %w[ album detail friends friendship
12
12
  interest mood photo profile status user video ]
13
13
 
14
14
  def setup
@@ -36,7 +36,6 @@ interest mood photo profile status user video ]
36
36
  d = MySpace::Detail.get(@@userId)
37
37
  assert_kind_of MySpace::Detail, d
38
38
  assert_kind_of MySpace::User,d.user
39
- assert_kind_of String,d.status
40
39
  assert_kind_of String,d.ethnicity
41
40
  assert_kind_of String,d.drink
42
41
  assert_kind_of String,d.zodiacsign
@@ -69,10 +68,6 @@ interest mood photo profile status user video ]
69
68
  assert_kind_of Fixnum,f.friendship.first.friendId
70
69
  end
71
70
 
72
- def test_group
73
- assert_kind_of MySpace::Groups, MySpace::Groups.get(@@userId)
74
- end
75
-
76
71
  def test_interest
77
72
  i = MySpace::Interest.get(@@userId)
78
73
  assert_kind_of MySpace::Interest, i
@@ -135,7 +130,8 @@ interest mood photo profile status user video ]
135
130
  assert_kind_of Fixnum,u.userId
136
131
  assert_kind_of String,u.name
137
132
  assert(u.onlineNow.kind_of?(TrueClass) ||
138
- u.onlineNow.kind_of?(FalseClass))
133
+ u.onlineNow.kind_of?(FalseClass) ||
134
+ u.onlineNow.kind_of?(NilClass))
139
135
 
140
136
  end
141
137
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: myspace-ruby
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.0
7
- date: 2008-03-06 00:00:00 -08:00
6
+ version: 0.7.1
7
+ date: 2008-04-26 00:00:00 -07:00
8
8
  summary: A library to interface with the MySpace REST API.
9
9
  require_paths:
10
10
  - lib
@@ -84,7 +84,6 @@ files:
84
84
  - lib/myspace/classes/profile.rb
85
85
  - lib/myspace/classes/mood.rb
86
86
  - lib/myspace/classes/interest.rb
87
- - lib/myspace/classes/group.rb
88
87
  - lib/myspace/classes/detail.rb
89
88
  - lib/myspace/classes/friendship.rb
90
89
  - lib/myspace/classes/user.rb
@@ -1,55 +0,0 @@
1
- class MySpace::Groups < MySpace::Object
2
- @pathFormat = "/users/%s/groups".freeze
3
- @numParams = 1.freeze
4
- @dataType = "Array".freeze
5
- @childType = "Group".freeze
6
- @childBase = "groups".freeze
7
-
8
- attr_accessor :user
9
- attr_accessor :prev
10
- attr_accessor :groups
11
- attr_accessor :next
12
- attr_accessor :count
13
- end
14
-
15
- class MySpace::Group < MySpace::Object
16
- attr_accessor :user
17
- attr_accessor :prev
18
- attr_accessor :groups
19
- attr_accessor :next
20
- attr_accessor :count
21
-
22
- attr_accessor :approveMembers
23
- attr_accessor :categoryId
24
- attr_accessor :categoryName
25
- attr_accessor :city
26
- attr_accessor :country
27
- attr_accessor :createDate
28
- attr_accessor :description
29
- attr_accessor :descriptionShort
30
- attr_accessor :groupId
31
- attr_accessor :groupName
32
- attr_accessor :groupUri
33
- attr_accessor :groupUrl
34
- attr_accessor :imageId
35
- attr_accessor :imageType
36
- attr_accessor :isAdult
37
- attr_accessor :isPrivate
38
- attr_accessor :isPublic
39
- attr_accessor :memberBulletins
40
- attr_accessor :memberCount
41
- attr_accessor :memberImages
42
- attr_accessor :membersCanInvite
43
- attr_accessor :moderatorUserId
44
- attr_accessor :nonMemberBoardPosting
45
- attr_accessor :postalCode
46
- attr_accessor :region
47
- attr_accessor :user
48
- attr_accessor :image
49
- attr_accessor :name
50
- attr_accessor :onlineNow
51
- attr_accessor :uri
52
- attr_accessor :userId
53
- end
54
-
55
- fail "This is a library, not a command line app\n" if $0 == __FILE__