Module: Avo::Concerns::HasCoverPhoto
- Extended by:
- ActiveSupport::Concern
- Included in:
- Resources::Base
- Defined in:
- lib/avo/concerns/has_cover_photo.rb
Instance Method Summary collapse
-
#cover_photo ⇒ Object
Add instance property to compute the options.
Instance Method Details
#cover_photo ⇒ Object
Add instance property to compute the options
13 14 15 |
# File 'lib/avo/concerns/has_cover_photo.rb', line 13 def cover_photo Avo::CoverPhoto.new resource: self end |