Module: Spree::Taxon::PaperclipAttachment

Extended by:
ActiveSupport::Concern
Defined in:
core/app/models/spree/taxon/paperclip_attachment.rb

Instance Method Summary collapse

Instance Method Details

#attachment_partial_nameObject



22
23
24
# File 'core/app/models/spree/taxon/paperclip_attachment.rb', line 22

def attachment_partial_name
  'paperclip'
end

#icon_present?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'core/app/models/spree/taxon/paperclip_attachment.rb', line 18

def icon_present?
  icon.present?
end