Module: HasImage::ModelClassMethods
- Defined in:
- lib/has_image.rb
Instance Method Summary collapse
- #from_partitioned_path(path) ⇒ Object
-
#thumbnails ⇒ Object
Get the hash of thumbnails set by the options specified when invoking HasImage::ClassMethods#has_image.
Instance Method Details
#from_partitioned_path(path) ⇒ Object
334 335 336 |
# File 'lib/has_image.rb', line 334 def from_partitioned_path(path) find HasImage::Storage.id_from_path(path) end |
#thumbnails ⇒ Object
Get the hash of thumbnails set by the options specified when invoking HasImage::ClassMethods#has_image.
330 331 332 |
# File 'lib/has_image.rb', line 330 def thumbnails [:thumbnails] end |