Class: Spacer::Photo

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/spacer/models/photo.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included, #initialize, #populate, #populate_from_hash!, #populated?

Instance Attribute Details

#__typeObject

Returns the value of attribute __type.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def __type
  @__type
end

#captionObject

Returns the value of attribute caption.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def caption
  @caption
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def id
  @id
end

#imageUriObject

Returns the value of attribute imageUri.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def imageUri
  @imageUri
end

#photoUriObject

Returns the value of attribute photoUri.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def photoUri
  @photoUri
end

#userObject

Returns the value of attribute user.



4
5
6
# File 'lib/spacer/models/photo.rb', line 4

def user
  @user
end