class RailsBand::ActiveStorage::LogSubscriber
The custom LogSubscriber for ActiveStorage.
def analyze(event)
def analyze(event) consumer_of(__method__)&.call(Event::Analyze.new(event)) end
def consumer_of(sub_event)
def consumer_of(sub_event) consumers[:"#{sub_event}.active_storage"] || consumers[:active_storage] || consumers[:default] end
def preview(event)
def preview(event) consumer_of(__method__)&.call(Event::Preview.new(event)) end
def service_delete(event)
def service_delete(event) consumer_of(__method__)&.call(Event::ServiceDelete.new(event)) end
def service_delete_prefixed(event)
def service_delete_prefixed(event) consumer_of(__method__)&.call(Event::ServiceDeletePrefixed.new(event)) end
def service_download(event)
def service_download(event) consumer_of(__method__)&.call(Event::ServiceDownload.new(event)) end
def service_download_chunk(event)
def service_download_chunk(event) consumer_of(__method__)&.call(Event::ServiceDownloadChunk.new(event)) end
def service_exist(event)
def service_exist(event) consumer_of(__method__)&.call(Event::ServiceExist.new(event)) end
def service_streaming_download(event)
def service_streaming_download(event) consumer_of(__method__)&.call(Event::ServiceStreamingDownload.new(event)) end
def service_update_metadata(event)
def service_update_metadata(event) consumer_of(__method__)&.call(Event::ServiceUpdateMetadata.new(event)) end
def service_upload(event)
def service_upload(event) consumer_of(__method__)&.call(Event::ServiceUpload.new(event)) end
def service_url(event)
def service_url(event) consumer_of(__method__)&.call(Event::ServiceUrl.new(event)) end
def transform(event)
def transform(event) consumer_of(__method__)&.call(Event::Transform.new(event)) end