class RailsBand::ActiveStorage::Event::ServiceDelete

A wrapper for the event that is passed to ‘service_delete.active_storage`.

def key

def key
  return @key if defined? @key
  @key = @event.payload[:key]
end

def service

def service
  @service ||= @event.payload.fetch(:service)
end