Class: Avo::CoverPhoto
- Inherits:
-
PhotoObject
- Object
- PhotoObject
- Avo::CoverPhoto
- Defined in:
- lib/avo/cover_photo.rb
Instance Method Summary collapse
Methods inherited from PhotoObject
#initialize, #options, #present?, #value, #visible_in_current_view?, #visible_on, #visible_on_edit?, #visible_on_index?, #visible_on_new?, #visible_on_show?
Constructor Details
This class inherits a constructor from Avo::PhotoObject
Instance Method Details
#key ⇒ Object
5 |
# File 'lib/avo/cover_photo.rb', line 5 def key = :cover_photo |
#size ⇒ Object
7 8 9 |
# File 'lib/avo/cover_photo.rb', line 7 def size .fetch(:size, :md) end |