Module: Sequel::Plugins::NotNaughty::InstanceMethods

Defined in:
lib/sequel_notnaughty.rb

Overview

Ensures API compatibility.

Instance Method Summary collapse

Instance Method Details

#validateObject

:nodoc:



42
43
44
45
46
47
48
# File 'lib/sequel_notnaughty.rb', line 42

def validate #:nodoc:
  errors.clear
  return false if before_validation == false
  self.class.validator.invoke self
  after_validation
  nil
end