Module: UseCases::ModuleOptins::Validated::CallPatch
- Defined in:
- lib/use_cases/module_optins/validated.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/use_cases/module_optins/validated.rb', line 21 def call(*) unless stack.include_step?(:validate) raise NoValidationError, "Make sure to define params validations by using *params*" \ "*schema*, *json*, *rule* or *option* macros in your use case." end super end |