Module: Lotus::Action::Validatable
- Defined in:
- lib/lotus/action/validatable.rb
Overview
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 anoymous params
'Params'.freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/lotus/action/validatable.rb', line 10 def self.included(base) base.class_eval do extend ClassMethods expose :params, :errors end end |