Module: Dry::Validation::Rails
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/dry/validation/rails.rb,
lib/dry/validation/rails/helpers.rb,
lib/dry/validation/rails/version.rb,
lib/dry/validation/rails/validator.rb,
lib/dry/validation/rails/validatable.rb,
lib/dry/validation/rails/configuration.rb
Defined Under Namespace
Modules: Helpers, Validatable
Classes: BaseError, Configuration, SchemaNotFound, Validator
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
21
22
23
|
# File 'lib/dry/validation/rails.rb', line 21
def configuration
@configuration ||= Configuration.new
end
|
25
26
27
|
# File 'lib/dry/validation/rails.rb', line 25
def configure
yield configuration
end
|