Class: Belpost::Validation::BatchItemSchema
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Belpost::Validation::BatchItemSchema
- Defined in:
- lib/belpost/validations/batch_item_schema.rb
Overview
Schema for validating batch item data
Class Method Summary collapse
-
.call(params) ⇒ Object
Add class method to make it callable directly.
Class Method Details
.call(params) ⇒ Object
Add class method to make it callable directly
181 182 183 |
# File 'lib/belpost/validations/batch_item_schema.rb', line 181 def self.call(params) new.call(params) end |