Class: CarrierWave::Mounter::Multiple

Inherits:
CarrierWave::Mounter show all
Defined in:
lib/carrierwave/mounter.rb

Overview

:nodoc

Instance Attribute Summary

Attributes inherited from CarrierWave::Mounter

#column, #download_errors, #integrity_errors, #processing_errors, #record, #remote_request_headers, #remote_urls, #remove, #uploader_options

Instance Method Summary collapse

Methods inherited from CarrierWave::Mounter

#blank?, #blank_uploader, build, #cache, #cache_names, #cache_names=, #clear!, #identifiers, #initialize, #read_identifiers, #remove!, #remove?, #remove_added, #remove_previous, #reset_changes!, #serialization_column, #store!, #uploader_class, #uploaders, #urls, #write_identifier

Constructor Details

This class inherits a constructor from CarrierWave::Mounter

Instance Method Details

#identifierObject



17
18
19
# File 'lib/carrierwave/mounter.rb', line 17

def identifier
  uploaders.map(&:identifier).presence
end

#temporary_identifierObject



21
22
23
# File 'lib/carrierwave/mounter.rb', line 21

def temporary_identifier
  temporary_identifiers.presence
end