Module: Validation::Rule
- Defined in:
- lib/diaspora_federation/validators.rb,
lib/diaspora_federation/validators/rules/guid.rb,
lib/diaspora_federation/validators/rules/boolean.rb,
lib/diaspora_federation/validators/rules/not_nil.rb,
lib/diaspora_federation/validators/rules/birthday.rb,
lib/diaspora_federation/validators/rules/tag_count.rb,
lib/diaspora_federation/validators/rules/public_key.rb,
lib/diaspora_federation/validators/rules/diaspora_id.rb,
lib/diaspora_federation/validators/rules/diaspora_id_list.rb
Overview
This module contains custom validation rules for various data field types. That includes types for which there are no provided rules by the valid
gem or types that are very specific to diaspora* federation and need special handling. The rules are used inside the validator classes to perform basic sanity-checks on federation entities.
Defined Under Namespace
Classes: Birthday, Boolean, DiasporaId, DiasporaIdList, Guid, NotNil, PublicKey, TagCount