Class: Belpost::Validation::ParcelSchema
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Belpost::Validation::ParcelSchema
- Defined in:
- lib/belpost/validations/parcel_schema.rb
Overview
Validation schema for parcel_data rubocop:disable Metrics/BlockLength
Class Method Summary collapse
-
.call(params) ⇒ Object
Add class method to make it compatible with the tests.
Class Method Details
.call(params) ⇒ Object
Add class method to make it compatible with the tests
163 164 165 |
# File 'lib/belpost/validations/parcel_schema.rb', line 163 def self.call(params) new.call(params) end |