Class: ImageGallery::GalleryGenerator::GalleryImageModel
- Inherits:
-
Struct
- Object
- Struct
- ImageGallery::GalleryGenerator::GalleryImageModel
- Defined in:
- lib/gallery/gallery.rb
Instance Attribute Summary collapse
-
#creation_datetime ⇒ Object
Returns the value of attribute creation_datetime.
-
#original_path ⇒ Object
Returns the value of attribute original_path.
-
#path ⇒ Object
Returns the value of attribute path.
-
#thumbnail_path ⇒ Object
Returns the value of attribute thumbnail_path.
Instance Method Summary collapse
Instance Attribute Details
#creation_datetime ⇒ Object
Returns the value of attribute creation_datetime
14 15 16 |
# File 'lib/gallery/gallery.rb', line 14 def creation_datetime @creation_datetime end |
#original_path ⇒ Object
Returns the value of attribute original_path
14 15 16 |
# File 'lib/gallery/gallery.rb', line 14 def original_path @original_path end |
#path ⇒ Object
Returns the value of attribute path
14 15 16 |
# File 'lib/gallery/gallery.rb', line 14 def path @path end |
#thumbnail_path ⇒ Object
Returns the value of attribute thumbnail_path
14 15 16 |
# File 'lib/gallery/gallery.rb', line 14 def thumbnail_path @thumbnail_path end |
Instance Method Details
#to_liquid ⇒ Object
15 16 17 |
# File 'lib/gallery/gallery.rb', line 15 def to_liquid to_h.transform_keys(&:to_s) end |