method

service_download

rails latest stable - Class: ActiveStorage::StructuredEventSubscriber

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

service_download(event)
public

No documentation available.

# File activestorage/lib/active_storage/structured_event_subscriber.rb, line 15
    def service_download(event)
      emit_event("active_storage.service_download",
        key: event.payload[:key],
        duration_ms: event.duration.round(2),
      )
    end