Class: Interactor::Validation::Validates::ConfigurationProxy
- Defined in:
- lib/interactor/validation/validates.rb
Instance Method Summary collapse
- #halt=(value) ⇒ Object
-
#initialize(config_hash) ⇒ ConfigurationProxy
constructor
A new instance of ConfigurationProxy.
- #mode=(value) ⇒ Object
- #skip_validate=(value) ⇒ Object
Constructor Details
#initialize(config_hash) ⇒ ConfigurationProxy
28 29 30 |
# File 'lib/interactor/validation/validates.rb', line 28 def initialize(config_hash) @config = config_hash end |
Instance Method Details
#halt=(value) ⇒ Object
36 37 38 |
# File 'lib/interactor/validation/validates.rb', line 36 def halt=(value) @config[:halt] = value end |
#mode=(value) ⇒ Object
32 33 34 |
# File 'lib/interactor/validation/validates.rb', line 32 def mode=(value) @config[:mode] = value end |
#skip_validate=(value) ⇒ Object
40 41 42 |
# File 'lib/interactor/validation/validates.rb', line 40 def skip_validate=(value) @config[:skip_validate] = value end |