Module: UseCases
- Extended by:
- Dry::Configurable
- Defined in:
- lib/use_cases.rb,
lib/use_cases/dsl.rb,
lib/use_cases/stack.rb,
lib/use_cases/params.rb,
lib/use_cases/result.rb,
lib/use_cases/version.rb,
lib/use_cases/stack_runner.rb,
lib/use_cases/module_optins.rb,
lib/use_cases/step_adapters.rb,
lib/use_cases/step_adapters/map.rb,
lib/use_cases/step_adapters/tee.rb,
lib/use_cases/step_adapters/try.rb,
lib/use_cases/step_adapters/step.rb,
lib/use_cases/step_adapters/check.rb,
lib/use_cases/module_optins/locked.rb,
lib/use_cases/step_adapters/enqueue.rb,
lib/use_cases/module_optins/prepared.rb,
lib/use_cases/step_adapters/abstract.rb,
lib/use_cases/module_optins/validated.rb,
lib/use_cases/step_active_job_adapter.rb,
lib/use_cases/module_optins/authorized.rb,
lib/use_cases/module_optins/transactional.rb
Defined Under Namespace
Modules: DSL, ModuleOptins, StepAdapters Classes: MissingStepError, Params, PreviousStepInvalidReturn, Result, Stack, StackRunner, StepActiveJobAdapter, StepArgumentError
Constant Summary collapse
- VERSION =
"3.0.2"
Class Method Summary collapse
Class Method Details
.dry_validation ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/use_cases.rb', line 23 def self.dry_validation config_proc = config.dry_validation proc do begin config_proc.call(config) rescue Dry::Configurable::FrozenConfig end end end |