class RailsBand::ActiveStorage::Event::Preview
A wrapper for the event that is passed to ‘preview.active_storage`.
def key
def key return @key if defined? @key @key = @event.payload[:key] end
A wrapper for the event that is passed to ‘preview.active_storage`.
def key return @key if defined? @key @key = @event.payload[:key] end