Class: Mosaico::ActiveStoragePlaceholderBackend

Inherits:
ActiveStorageBackend show all
Defined in:
lib/mosaico/active_storage_placeholder_backend.rb

Instance Attribute Summary

Attributes inherited from ActiveStorageBackend

#path_prefix, #service

Instance Method Summary collapse

Methods inherited from ActiveStorageBackend

#retrieve, #store, #url_to

Constructor Details

#initializeActiveStoragePlaceholderBackend

Returns a new instance of ActiveStoragePlaceholderBackend.



3
4
5
# File 'lib/mosaico/active_storage_placeholder_backend.rb', line 3

def initialize
  super(ActiveStorage::Blob.service, '/mosaico/placeholders')
end