Module: Hanami::Extensions::Action::ClassMethods

Defined in:
lib/hanami/extensions/action.rb

Overview

Class methods for app-integrated actions.

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#configure_for_slice(slice) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0



30
31
32
# File 'lib/hanami/extensions/action.rb', line 30

def configure_for_slice(slice)
  extend SliceConfiguredAction.new(slice)
end