Method: Spree::AppConfiguration#image_attachment_module

Defined in:
lib/spree/app_configuration.rb

#image_attachment_moduleModule

Allows switching attachment library for Image

Spree::Image::ActiveStorageAttachment is the default and provides the Active Storage implementation.

Enumerable of images adhering to the present_image_class interface

Returns:

  • (Module)

    a module that can be included into Spree::Image to allow attachments



501
# File 'lib/spree/app_configuration.rb', line 501

class_name_attribute :image_attachment_module, default: "Spree::Image::ActiveStorageAttachment"