class RailsBand::ActiveStorage::Event::ServiceDownloadChunk

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

def key

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

def range

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

def service

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