Sha256: 07b4dedb8b4e102f178a1f910254c83c8ac7f3b9e87452ef6a860278e9a5e2f2

Contents?: true

Size: 206 Bytes

Versions: 8

Compression:

Stored size: 206 Bytes

Contents

module Reactor
  module ResourceActionable
    class IndexEvent < ActionEvent
      perform do
        action_event "#{resource_name.pluralize}_indexed", target: nested_resource
      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/index_event.rb
reactor-0.18.0 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.17.0 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.16.1 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.16.0 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.15.1 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.15.0 lib/reactor/controllers/concerns/actions/index_event.rb
reactor-0.14.0 lib/reactor/controllers/concerns/actions/index_event.rb