Method: ActiveFedora::AttachedFiles#declared_attached_files

Defined in:
lib/active_fedora/attached_files.rb

#declared_attached_filesObject

Returns only the attached_files that are declared with ‘contains’



10
11
12
13
14
15
16
# File 'lib/active_fedora/attached_files.rb', line 10

def declared_attached_files
  result = {}
  attached_files.reflections.keys.each do |k|
    result[k] = attached_files[k]
  end
  result
end