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

Instance Method Details

#cover_photoObject

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