Module: SunspotCell::CompositeSetup::InstanceMethods

Defined in:
lib/sunspot_cell/composite_setup.rb

Instance Method Summary collapse

Instance Method Details

#all_attachment_fieldsObject

Collection of all attachment fields configured for any of the enclosed types.

Returns

Array

Text fields configured for the enclosed types



18
19
20
# File 'lib/sunspot_cell/composite_setup.rb', line 18

def all_attachment_fields
  @attachment_fields ||= attachment_fields_hash.values.map { |set| set.to_a }.flatten
end