Class: Belpost::Validation::BatchItemSchema

Inherits:
Dry::Validation::Contract
  • Object
show all
Defined in:
lib/belpost/validations/batch_item_schema.rb

Overview

Schema for validating batch item data

Class Method Summary collapse

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