Method: Bulkrax::FileSetEntryBehavior#file_reference
- Defined in:
- app/models/concerns/bulkrax/file_set_entry_behavior.rb
#file_reference ⇒ Object
20 21 22 23 |
# File 'app/models/concerns/bulkrax/file_set_entry_behavior.rb', line 20 def file_reference return 'file' if &.[]('file')&.map(&:present?)&.any? return 'remote_files' if &.[]('remote_files')&.map(&:present?)&.any? end |