Class: MySpace::Photo

Inherits:
Object
  • Object
show all
Defined in:
lib/myspace/classes/photo.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

#captionObject

Returns the value of attribute caption.



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

def caption
  @caption
end

#idObject

Returns the value of attribute id.



14
15
16
# File 'lib/myspace/classes/photo.rb', line 14

def id
  @id
end

#imageUriObject

Returns the value of attribute imageUri.



15
16
17
# File 'lib/myspace/classes/photo.rb', line 15

def imageUri
  @imageUri
end

#photoUriObject

Returns the value of attribute photoUri.



16
17
18
# File 'lib/myspace/classes/photo.rb', line 16

def photoUri
  @photoUri
end

#userObject

Returns the value of attribute user.



17
18
19
# File 'lib/myspace/classes/photo.rb', line 17

def user
  @user
end