Class: ValidatorOptions
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- ValidatorOptions
- Defined in:
- lib/hyrum.rb
Class Method Summary collapse
Class Method Details
.from_parent(parent) ⇒ Object
93 94 95 |
# File 'lib/hyrum.rb', line 93 def self.from_parent(parent) new(parent.to_h.slice(:validate, :min_quality, :strict, :ai_service, :ai_model)) end |