Class: UseCase::ValidatorParent
- Inherits:
-
Base
- Object
- Base
- UseCase::ValidatorParent
- Defined in:
- lib/usecasing/validator_parent.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#call_failure(status, message = nil) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/usecasing/validator_parent.rb', line 5 def call_failure(status, = nil) if respond_to?(:failure!) failure!(status, ) else failure(status, ) end end |