Class: MySpace::User

Inherits:
Object show all
Defined in:
lib/myspace/classes/user.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

build_request, get, get_raw, #initialize, json_to_obj, json_to_obj_collection

Constructor Details

This class inherits a constructor from MySpace::Object

Instance Attribute Details

#imageObject

Returns the value of attribute image.



13
14
15
# File 'lib/myspace/classes/user.rb', line 13

def image
  @image
end

#nameObject

the name the user specified for the profile (not username/vanity url)



6
7
8
# File 'lib/myspace/classes/user.rb', line 6

def name
  @name
end

#onlineNowObject

Returns the value of attribute onlineNow.



12
13
14
# File 'lib/myspace/classes/user.rb', line 12

def onlineNow
  @onlineNow
end

#uriObject

the URL of the user’s profile page



8
9
10
# File 'lib/myspace/classes/user.rb', line 8

def uri
  @uri
end

#userIdObject

Returns the value of attribute userId.



11
12
13
# File 'lib/myspace/classes/user.rb', line 11

def userId
  @userId
end

#userTypeObject

Returns the value of attribute userType.



10
11
12
# File 'lib/myspace/classes/user.rb', line 10

def userType
  @userType
end

#webUriObject

Returns the value of attribute webUri.



9
10
11
# File 'lib/myspace/classes/user.rb', line 9

def webUri
  @webUri
end