Module: Avo::Concerns::HasProfilePhoto

Extended by:
ActiveSupport::Concern
Included in:
Resources::Base
Defined in:
lib/avo/concerns/has_profile_photo.rb

Instance Method Summary collapse

Instance Method Details

#profile_photoObject

Add instance property to compute the options



13
14
15
# File 'lib/avo/concerns/has_profile_photo.rb', line 13

def profile_photo
  ProfilePhoto.new resource: self
end