class RailsBand::ActiveStorage::Event::ServiceDownload

A wrapper for the event that is passed to ‘service_download.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