Class: Spacer::Photo
- Inherits:
-
Object
- Object
- Spacer::Photo
- Includes:
- Model
- Defined in:
- lib/spacer/models/photo.rb
Instance Attribute Summary collapse
-
#__type ⇒ Object
Returns the value of attribute __type.
-
#caption ⇒ Object
Returns the value of attribute caption.
-
#id ⇒ Object
Returns the value of attribute id.
-
#imageUri ⇒ Object
Returns the value of attribute imageUri.
-
#photoUri ⇒ Object
Returns the value of attribute photoUri.
-
#user ⇒ Object
Returns the value of attribute user.
Method Summary
Methods included from Model
included, #initialize, #populate, #populate_from_hash!, #populated?
Instance Attribute Details
#__type ⇒ Object
Returns the value of attribute __type.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def __type @__type end |
#caption ⇒ Object
Returns the value of attribute caption.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def @caption end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def id @id end |
#imageUri ⇒ Object
Returns the value of attribute imageUri.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def imageUri @imageUri end |
#photoUri ⇒ Object
Returns the value of attribute photoUri.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def photoUri @photoUri end |
#user ⇒ Object
Returns the value of attribute user.
4 5 6 |
# File 'lib/spacer/models/photo.rb', line 4 def user @user end |