kit-contract edge

Validation module
Kit::Contract::Services::Validation
View Source

Namespace for Contract validation


Link to this section Summary ⚠️ Private APIs are currently hidden.


Link to this section Class methods 2

Link to this method

.all(contracts:, args:)

View Source

contract Hash[contracts: Array.of(Callable), args: Array] => ResultTupple

Link to this method

.valid?(contract:, args:)

View Source

contract Hash[contract: Callable, args: Any] => ResultTupple Run a contract & normalize output.

Returns:

  • (Boolean)