class Hathor::Contract
- Hathor::Contract
- Reference
- Object
Included Modules
- Hathor::CollectionMacro
- Hathor::FieldMacro
- Hathor::NestedCollectionMacro
- Hathor::NestedContractMacro
- Hathor::NestedMacro
- Hathor::Validation
Defined in:
hathor-contract.crClass Method Summary
Macro Summary
-
__process
things that have to be done at the end of AST, after field macro populated PROPERTIES-Hash
Instance methods inherited from module Hathor::Validation::AllowBlankBreaker
break_on_absence(value : String | Array, option, **options)break_on_absence(value : Nil, option, **options)
break_on_absence(value, option, **options) break_on_absence
Instance methods inherited from module Hathor::Validation::EmailValidator
validate_email(value : String, option, **options)validate_email(value, option, **options) validate_email
Instance methods inherited from module Hathor::Validation::MaxValidator
validate_maximum(value : String | Array, option, **options)validate_maximum(value : Int | Float, option, **options)
validate_maximum(value, option, **options) validate_maximum
Instance methods inherited from module Hathor::Validation::MinValidator
validate_minimum(value : String | Array, option, **options)validate_minimum(value : Int | Float, option, **options)
validate_minimum(value : Nil, option, **options)
validate_minimum(value, option, **options) validate_minimum
Instance methods inherited from module Hathor::Validation::AbsenceValidator
validate_absence(value : String | Array, option, **options)validate_absence(value : Nil, option, **options)
validate_absence(value, option, **options) validate_absence
Instance methods inherited from module Hathor::Validation::PresenceValidator
validate_presence(value : String | Array, option, **options)validate_presence(value : Nil, option, **options)
validate_presence(value, option, **options) validate_presence
Class Method Detail
def self.log_invalid_type(field_name : String, provided_type : String, field_kind = "field")
#
Macro Detail
macro __process
#
things that have to be done at the end of AST, after field macro populated PROPERTIES-Hash