class RailsBand::ActiveRecord::Event::Instantiation

A wrapper for the event that is passed to ‘instantiation.active_record`.

def class_name

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

def record_count

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