Module: Hanami::Action::Validatable Private

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

Overview

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

Support for validating params when calling actions.

Included only when hanami-validations (and its dependencies) are bundled.

Since:

  • 0.1.0

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

PARAMS_CLASS_NAME =

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

Defines the class name for anonymous params

Since:

  • 0.3.0

"Params"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ 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:

  • 0.1.0



22
23
24
# File 'lib/hanami/action/validatable.rb', line 22

def self.included(base)
  base.extend ClassMethods
end