class RailsBand::ActiveStorage::Event::ServiceDeletePrefixed
A wrapper for the event that is passed to ‘service_delete_prefixed.active_storage`.
Public Instance Methods
prefix()
click to toggle source
# File lib/rails_band/active_storage/event/service_delete_prefixed.rb, line 8 def prefix @prefix ||= @event.payload.fetch(:prefix) end
service()
click to toggle source
# File lib/rails_band/active_storage/event/service_delete_prefixed.rb, line 12 def service @service ||= @event.payload.fetch(:service) end