class RailsBand::ActiveJob::Event::Discard

A wrapper for the event that is passed to ‘discard.active_job`.

def adapter

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

def error

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

def job

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