Class: Aspen::Contracts::DefaultAttributeContract

Inherits:
Dry::Validation::Contract
  • Object
show all
Defined in:
lib/aspen/contracts/default_attribute_contract.rb

Constant Summary collapse

LABEL =
/^[A-Z]{1}\w+$/
ATTR_NAME =
/^[a-z]{1}[a-z_]*[a-z]{1}$/