Class: GallerySync::SerPhoto
- Inherits:
-
Struct
- Object
- Struct
- GallerySync::SerPhoto
- Defined in:
- lib/gallery_sync/gallery_sync.rb
Instance Attribute Summary collapse
-
#full_url ⇒ Object
Returns the value of attribute full_url.
-
#medium_url ⇒ Object
Returns the value of attribute medium_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
Class Method Summary collapse
Instance Attribute Details
#full_url ⇒ Object
Returns the value of attribute full_url
204 205 206 |
# File 'lib/gallery_sync/gallery_sync.rb', line 204 def full_url @full_url end |
#medium_url ⇒ Object
Returns the value of attribute medium_url
204 205 206 |
# File 'lib/gallery_sync/gallery_sync.rb', line 204 def medium_url @medium_url end |
#name ⇒ Object
Returns the value of attribute name
204 205 206 |
# File 'lib/gallery_sync/gallery_sync.rb', line 204 def name @name end |
#path ⇒ Object
Returns the value of attribute path
204 205 206 |
# File 'lib/gallery_sync/gallery_sync.rb', line 204 def path @path end |
#thumb_url ⇒ Object
Returns the value of attribute thumb_url
204 205 206 |
# File 'lib/gallery_sync/gallery_sync.rb', line 204 def thumb_url @thumb_url end |
Class Method Details
.value_of(photo) ⇒ Object
205 206 207 |
# File 'lib/gallery_sync/gallery_sync.rb', line 205 def self.value_of(photo) SerPhoto.new(photo.name,photo.path,photo.thumb_url,photo.medium_url,photo.full_url) end |