Module: RedisModelExtension::Validations
- Defined in:
- lib/redis-model-extension/validation.rb
Instance Method Summary collapse
- #error ⇒ Object
-
#valid_alias_key?(alias_name) ⇒ Boolean
pointer to validation.
-
#valid_key? ⇒ Boolean
pointer to validation.
Instance Method Details
#error ⇒ Object
80 81 82 |
# File 'lib/redis-model-extension/validation.rb', line 80 def error self.errors end |
#valid_alias_key?(alias_name) ⇒ Boolean
pointer to validation
76 77 78 |
# File 'lib/redis-model-extension/validation.rb', line 76 def valid_alias_key? alias_name self.class.valid_alias_key? alias_name, to_arg end |
#valid_key? ⇒ Boolean
pointer to validation
71 72 73 |
# File 'lib/redis-model-extension/validation.rb', line 71 def valid_key? self.class.valid_key? to_arg end |