Sha256: 1e4cec6d66c6fc9895d8fd48c2e27556e3c2c19bec007f8293363aa80a14be40

Contents?: true

Size: 219 Bytes

Versions: 8

Compression:

Stored size: 219 Bytes

Contents

module Reactor
  module ResourceActionable
    class DestroyEvent < ActionEvent
      perform do
        action_event "#{resource_name}_destroyed", last_snapshot: actionable_resource.as_json
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reactor-0.19.0 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.18.0 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.17.0 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.16.1 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.16.0 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.15.1 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.15.0 lib/reactor/controllers/concerns/actions/destroy_event.rb
reactor-0.14.0 lib/reactor/controllers/concerns/actions/destroy_event.rb