method

service_upload

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_upload(event)
public

No documentation available.

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