lib/rails_band/active_job/event/retry_stopped.rb
# frozen_string_literal: true module RailsBand module ActiveJob module Event # A wrapper for the event that is passed to `retry_stopped.active_job`. class RetryStopped < BaseEvent def adapter @adapter ||= @event.payload.fetch(:adapter) end def job @job ||= @event.payload.fetch(:job) end def error @error ||= @event.payload.fetch(:error) end end end end end