Module: Policy::Validations
- Defined in:
- lib/policy/validations.rb
Overview
TODO:
Implement it later from scratch without excessive features
Wrapper around the ActiveModel::Validations
Provides shared interface for [Policy::Inteface] and [Policy::Follower].
Constant Summary collapse
- IMPLEMENTATION =
The implementation for validations
ActiveModel::Validations
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
22 23 24 |
# File 'lib/policy/validations.rb', line 22 def self.included(klass) klass.__send__(:include, IMPLEMENTATION) end |